Skip to content

Commit 7bae8f0

Browse files
groecksre
authored andcommitted
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>
1 parent 7fa650b commit 7bae8f0

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/power/reset/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ config POWER_RESET_QNAP
103103

104104
config POWER_RESET_RESTART
105105
bool "Restart power-off driver"
106-
depends on ARM
107106
help
108107
Some boards don't actually have the ability to power off.
109108
Instead they restart, and u-boot holds the SoC until the

‎drivers/power/reset/restart-poweroff.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <linux/of_platform.h>
1717
#include <linux/module.h>
1818
#include <linux/reboot.h>
19-
#include <asm/system_misc.h>
2019

2120
static void restart_poweroff_do_poweroff(void)
2221
{

0 commit comments

Comments
 (0)