Skip to content

Commit 4a54ecf

Browse files
rddunlaparndb
authored andcommitted
soc: sunxi: SUN20I_PPU should depend on PM
An $ARCH or a platform should select PM. Single device drivers should only depend on PM, not select it. Having SUN20I_PPU depend on PM removes a kconfig warning: WARNING: unmet direct dependencies detected for PM Depends on [n]: !MMU [=y] Selected by [y]: - SUN20I_PPU [=y] && (ARCH_SUNXI || COMPILE_TEST [=y]) Fixes: 0ad2185 ("soc: sunxi: select CONFIG_PM") Signed-off-by: Randy Dunlap <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Jernej Skrabec <[email protected]> Cc: Samuel Holland <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Arnd Bergmann <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 637581c commit 4a54ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/soc/sunxi/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ config SUNXI_SRAM
2323
config SUN20I_PPU
2424
bool "Allwinner D1 PPU power domain driver"
2525
depends on ARCH_SUNXI || COMPILE_TEST
26-
select PM
26+
depends on PM
2727
select PM_GENERIC_DOMAINS
2828
help
2929
Say y to enable the PPU power domain driver. This saves power

0 commit comments

Comments
 (0)