diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-07-08 15:52:39 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2019-07-09 01:28:49 +0300 |
commit | caa2b557841c8cedc1d4862cd31cf76ee940d105 (patch) | |
tree | 278d00fef890e16bd908767b0131db5e061dec96 /arch/powerpc | |
parent | 3f57fe28f84d636ca6238f33afe8b88d27c34d1b (diff) | |
download | linux-caa2b557841c8cedc1d4862cd31cf76ee940d105.tar.xz |
power: reset: nvmem-reboot-mode: add CONFIG_OF dependency
Without CONFIG_OF, we get a build failure in the reboot-mode
implementation:
drivers/power/reset/reboot-mode.c: In function 'reboot_mode_register':
drivers/power/reset/reboot-mode.c:72:2: error: implicit declaration of function 'for_each_property_of_node'; did you mean 'for_each_child_of_node'? [-Werror=implicit-function-declaration]
for_each_property_of_node(np, prop) {
Add a Kconfig dependency like we have for the other users of
CONFIG_REBOOT_MODE.
Fixes: 7a78a7f7695b ("power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions