summaryrefslogtreecommitdiff
path: root/include/bootdev.h
diff options
context:
space:
mode:
authorAdam Ford <[email protected]>2022-10-22 08:43:42 -0500
committerStefano Babic <[email protected]>2022-11-07 22:45:04 +0100
commit4dbe07f275b8d6449d1b61f181f442b5a9ade35f (patch)
tree17fea5ad77e3246cc98e4d1787b7169a4648ee26 /include/bootdev.h
parent975f4117d5592312acd14d715fd7498361a77b57 (diff)
regulator: bd718x7: Only bind children when PMIC_CHILDREN is enabled
If the bd718x7 is required, but PMIC_CHILDREN is disabled, this driver throws a compile error. Fix this by putting the function to bind children into an if-statement checking for PMIC_CHILDREN. Allowing PMIC_CHILDREN to be disabled in SPL saves some space and still permits some read/write functions to access the PMIC in early startup. Signed-off-by: Adam Ford <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Fabio Estevam <[email protected]>
Diffstat (limited to 'include/bootdev.h')
0 files changed, 0 insertions, 0 deletions