From 7bae8f04818cb388ca8652a55daa4132b469295e Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Sun, 25 Jan 2015 12:30:45 -0800 Subject: [PATCH] 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 Signed-off-by: Sebastian Reichel --- drivers/power/reset/Kconfig | 1 - drivers/power/reset/restart-poweroff.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index bb81e2a88ff3..27f6646731b0 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 f46f2c2e4648..41b22c4d5236 100644 --- a/drivers/power/reset/restart-poweroff.c +++ b/drivers/power/reset/restart-poweroff.c @@ -16,7 +16,6 @@ #include #include #include -#include static void restart_poweroff_do_poweroff(void) { -- 2.20.1