Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

power/reset: restart-poweroff: Remove arm dependencies

This driver is now arm specific anymore, so there is no need to include
an arm specific include file. Also drop unnecessary depencency on ARM
from Kconfig.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sebastian Reichel <sre@kernel.org>

authored by

Guenter Roeck and committed by
Sebastian Reichel
7bae8f04 7fa650bc

-2
-1
drivers/power/reset/Kconfig
··· 103 103 104 104 config POWER_RESET_RESTART 105 105 bool "Restart power-off driver" 106 - depends on ARM 107 106 help 108 107 Some boards don't actually have the ability to power off. 109 108 Instead they restart, and u-boot holds the SoC until the
-1
drivers/power/reset/restart-poweroff.c
··· 16 16 #include <linux/of_platform.h> 17 17 #include <linux/module.h> 18 18 #include <linux/reboot.h> 19 - #include <asm/system_misc.h> 20 19 21 20 static void restart_poweroff_do_poweroff(void) 22 21 {