PM / AVS: rockchip-io: depend on CONFIG_POWER_AVS
authorHeiko Stuebner <heiko@sntech.de>
Tue, 4 Aug 2015 19:36:12 +0000 (21:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Oct 2015 21:43:22 +0000 (14:43 -0700)
commit453995c8b13b02acc4e82c718c13c98373167655
treeda97a4e84846d2f6fec363d908cd87ed9924b16c
parent1a693d9cb531a2d869d767796f1f3934bb951d78
PM / AVS: rockchip-io: depend on CONFIG_POWER_AVS

commit 28c1f1628ee4b163e615eefe1b6463e3d229a873 upstream.

The rockchip io-domain driver currently only depends on ARCH_ROCKCHIP
itself. This makes it possible to select the power-domain driver, but
not the POWER_AVS class and results in the iodomain-driver not getting
build in this case.

So add the additional dependency, which also results in the driver
config option now being placed nicely into the AVS submenu.

Fixes: 662a958638bd ("PM / AVS: rockchip-io: add driver handling Rockchip io domains")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/power/avs/Kconfig