提交 a2c0206a 编写于 作者: P Pawel Moll 提交者: Anton Vorontsov

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: NPawel Moll <pawel.moll@arm.com>
Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
上级 697be361
...@@ -40,7 +40,7 @@ config POWER_RESET_RESTART ...@@ -40,7 +40,7 @@ config POWER_RESET_RESTART
config POWER_RESET_VEXPRESS config POWER_RESET_VEXPRESS
bool "ARM Versatile Express power-off and reset driver" bool "ARM Versatile Express power-off and reset driver"
depends on ARM || ARM64 depends on ARM || ARM64
depends on POWER_RESET depends on POWER_RESET && VEXPRESS_CONFIG
help help
Power off and reset support for the ARM Ltd. Versatile Power off and reset support for the ARM Ltd. Versatile
Express boards. Express boards.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册