diff options
author | Pawel Moll <pawel.moll@arm.com> | 2013-08-15 11:35:52 -0400 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-08-27 21:30:57 -0400 |
commit | a2c0206ad6a32b9f7287c87f20060ba59222f3b3 (patch) | |
tree | a8b045b536b9af3e97ee3707b325c6d103511b67 /drivers/power | |
parent | 697be361d2b3fd7760869341d7ce805092a5c1e5 (diff) |
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 <pawel.moll@arm.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/reset/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 5482280467e5..9b3ea535b472 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig | |||
@@ -40,7 +40,7 @@ config POWER_RESET_RESTART | |||
40 | config POWER_RESET_VEXPRESS | 40 | config POWER_RESET_VEXPRESS |
41 | bool "ARM Versatile Express power-off and reset driver" | 41 | bool "ARM Versatile Express power-off and reset driver" |
42 | depends on ARM || ARM64 | 42 | depends on ARM || ARM64 |
43 | depends on POWER_RESET | 43 | depends on POWER_RESET && VEXPRESS_CONFIG |
44 | help | 44 | help |
45 | Power off and reset support for the ARM Ltd. Versatile | 45 | Power off and reset support for the ARM Ltd. Versatile |
46 | Express boards. | 46 | Express boards. |