summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-01-25 12:30:45 -0800
committerSebastian Reichel <sre@kernel.org>2015-01-25 22:13:18 +0100
commit7bae8f04818cb388ca8652a55daa4132b469295e (patch)
tree2d4beeb3a4b1431a228b853027d9163cf04281b7 /drivers/power
parent7fa650bc0d2c124d28d6c532de7a7d739348953d (diff)
downloadop-kernel-dev-7bae8f04818cb388ca8652a55daa4132b469295e.zip
op-kernel-dev-7bae8f04818cb388ca8652a55daa4132b469295e.tar.gz
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>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/reset/Kconfig1
-rw-r--r--drivers/power/reset/restart-poweroff.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index bb81e2a..27f6646 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -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
diff --git a/drivers/power/reset/restart-poweroff.c b/drivers/power/reset/restart-poweroff.c
index f46f2c2..41b22c4 100644
--- a/drivers/power/reset/restart-poweroff.c
+++ b/drivers/power/reset/restart-poweroff.c
@@ -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)
{
OpenPOWER on IntegriCloud