power/reset: restart-poweroff: Remove arm dependencies
authorGuenter Roeck <linux@roeck-us.net>
Sun, 25 Jan 2015 20:30:45 +0000 (12:30 -0800)
committerSebastian Reichel <sre@kernel.org>
Sun, 25 Jan 2015 21:13:18 +0000 (22:13 +0100)
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>
drivers/power/reset/Kconfig
drivers/power/reset/restart-poweroff.c

index bb81e2a..27f6646 100644 (file)
@@ -103,7 +103,6 @@ config POWER_RESET_QNAP
 
 config POWER_RESET_RESTART
        bool "Restart power-off driver"
-       depends on ARM
        help
          Some boards don't actually have the ability to power off.
          Instead they restart, and u-boot holds the SoC until the
index f46f2c2..41b22c4 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/of_platform.h>
 #include <linux/module.h>
 #include <linux/reboot.h>
-#include <asm/system_misc.h>
 
 static void restart_poweroff_do_poweroff(void)
 {