From: Pawel Moll Date: Thu, 15 Aug 2013 15:35:52 +0000 (+0100) Subject: vexpress-poweroff: Should depend on the required infrastructure X-Git-Tag: accepted/tizen/common/20141203.182822~1495^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2c0206ad6a32b9f7287c87f20060ba59222f3b3;p=platform%2Fkernel%2Flinux-arm64.git vexpress-poweroff: Should depend on the required infrastructure ARM Versatile Express reset driver requires platform-specific config infrastructure to be present in the kernel. When VEXPRESS_CONFIG is not selected, the build will fail like this: drivers/built-in.o: In function `vexpress_reset_do.clone.0': iio-trig-interrupt.c:(.text+0x1aff38): undefined reference to `__vexpress_config_func_get' iio-trig-interrupt.c:(.text+0x1aff4c): undefined reference to `vexpress_config_write' Added required dependency to the Kconfig entry. Signed-off-by: Pawel Moll Signed-off-by: Anton Vorontsov --- diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 5482280..9b3ea53 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -40,7 +40,7 @@ config POWER_RESET_RESTART config POWER_RESET_VEXPRESS bool "ARM Versatile Express power-off and reset driver" depends on ARM || ARM64 - depends on POWER_RESET + depends on POWER_RESET && VEXPRESS_CONFIG help Power off and reset support for the ARM Ltd. Versatile Express boards.