diff options
| author | Arnd Bergmann <[email protected]> | 2019-07-08 12:52:39 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2019-07-08 22:28:49 +0000 |
| commit | caa2b557841c8cedc1d4862cd31cf76ee940d105 (patch) | |
| tree | 278d00fef890e16bd908767b0131db5e061dec96 /tools/perf/scripts/python/sctop.py | |
| parent | power_supply: wilco_ec: Add charging config driver (diff) | |
| download | kernel-caa2b557841c8cedc1d4862cd31cf76ee940d105.tar.gz kernel-caa2b557841c8cedc1d4862cd31cf76ee940d105.zip | |
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 <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
