Skip to content

Commit

Permalink
power/reset: restart-poweroff: Remove arm dependencies
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guenter Roeck authored and Sebastian Reichel committed Jan 25, 2015
1 parent 7fa650b commit 7bae8f0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/power/reset/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion drivers/power/reset/restart-poweroff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 7bae8f0

Please sign in to comment.