vexpress-poweroff: Should depend on the required infrastructure
authorPawel Moll <pawel.moll@arm.com>
Thu, 15 Aug 2013 15:35:52 +0000 (16:35 +0100)
committerAnton Vorontsov <anton@enomsg.org>
Wed, 28 Aug 2013 01:30:57 +0000 (18:30 -0700)
commita2c0206ad6a32b9f7287c87f20060ba59222f3b3
treea8b045b536b9af3e97ee3707b325c6d103511b67
parent697be361d2b3fd7760869341d7ce805092a5c1e5
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>
drivers/power/reset/Kconfig