soc: sunxi: SUN20I_PPU should depend on PM
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 9 Feb 2023 17:23:59 +0000 (09:23 -0800)
committerArnd Bergmann <arnd@arndb.de>
Fri, 10 Feb 2023 16:42:25 +0000 (17:42 +0100)
commit4a54ecf3031c6631515ae7a708b8ccd5f1bd1fe8
treea281fcb1f0f41480112b36404e7cb02e4c7124cf
parent637581ce60403a27712c657453a210c8fd17cc66
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: 0ad2185dcb5e ("soc: sunxi: select CONFIG_PM")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Jernej Skrabec <jernej.skrabec@gmail.com>
Cc: Samuel Holland <samuel@sholland.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-sunxi@lists.linux.dev
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/sunxi/Kconfig