]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: pmic: Consistently depend on DM_PMIC
authorSamuel Holland <samuel@sholland.org>
Fri, 8 Oct 2021 05:17:14 +0000 (00:17 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 12 Oct 2021 08:35:41 +0000 (09:35 +0100)
commit7f51b554be381c99a24d37945038099a82d7993e
treece38efa8a462b2aefb635a042ec0997951c83385
parente7510d24cab4741f72489b9d67c2d42b18fe5374
power: pmic: Consistently depend on DM_PMIC

Kconfig symbols for two PMIC drivers (PMIC_AS3722 and DM_PMIC_MC34708)
were missing a dependency on DM_PMIC. To fix this inconsistency, and to
keep it from happening again, wrap the driver section with "if DM_PMIC"
instead of using a "depends on DM_PMIC" clause for each driver.

Reviewed-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/power/pmic/Kconfig