Commit 7bae8f04 authored by Guenter Roeck's avatar Guenter Roeck Committed by Sebastian Reichel

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: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 7fa650bc
...@@ -103,7 +103,6 @@ config POWER_RESET_QNAP ...@@ -103,7 +103,6 @@ config POWER_RESET_QNAP
config POWER_RESET_RESTART config POWER_RESET_RESTART
bool "Restart power-off driver" bool "Restart power-off driver"
depends on ARM
help help
Some boards don't actually have the ability to power off. Some boards don't actually have the ability to power off.
Instead they restart, and u-boot holds the SoC until the Instead they restart, and u-boot holds the SoC until the
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/reboot.h> #include <linux/reboot.h>
#include <asm/system_misc.h>
static void restart_poweroff_do_poweroff(void) static void restart_poweroff_do_poweroff(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment