soc: raspberrypi-power: add CONFIG_OF dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 6 Jul 2016 12:49:45 +0000 (14:49 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 7 Jul 2016 12:58:38 +0000 (14:58 +0200)
commit9bb45cd4470607028c4abdaa4063f1674661bb0e
treed3141dae0b9982fa63dec1777c4f37bd2e5ac7c0
parente517dfe67480fcca90831ac02e184859200bbaf6
soc: raspberrypi-power: add CONFIG_OF dependency

We get a harmless warning if the RASPBERRYPI_POWER driver is enabled without
CONFIG_OF during compile testing:

warning: RASPBERRYPI_POWER selects PM_GENERIC_DOMAINS_OF which has unmet direct dependencies (PM_GENERIC_DOMAINS && OF)

There is no need to select PM_GENERIC_DOMAINS_OF if OF is set, so we can
replace the 'select' with a dependency.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Eric Anholt <eric@anholt.net>
drivers/soc/bcm/Kconfig