From: Guenter Roeck <linux@roeck-us.net>
To: Sebastian Reichel <sre@kernel.org>
Cc: linux-pm@vger.kernel.org, Guenter Roeck <linux@roeck-us.net>,
David Woodhouse <dwmw2@infradead.org>,
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH 6/6] power/reset: restart-poweroff: Remove arm dependencies
Date: Sun, 25 Jan 2015 10:13:42 -0800 [thread overview]
Message-ID: <1422209622-31994-6-git-send-email-linux@roeck-us.net> (raw)
In-Reply-To: <1422209622-31994-1-git-send-email-linux@roeck-us.net>
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>
---
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 4b4b910..a4fd2cb 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -104,7 +104,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)
{
--
2.1.0
next prev parent reply other threads:[~2015-01-25 18:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-25 18:13 [PATCH 1/6] power/reset: arm-versatile: Register with kernel restart handler Guenter Roeck
2015-01-25 18:13 ` [PATCH 2/6] power/reset: at91: " Guenter Roeck
2015-01-25 18:13 ` [PATCH 3/6] power/reset: Remove sun6i reboot driver Guenter Roeck
2015-01-25 18:23 ` Maxime Ripard
2015-01-25 18:13 ` [PATCH 4/6] power/reset: st-poweroff: Register with kernel restart handler Guenter Roeck
2015-01-25 18:13 ` [PATCH 5/6] power/reset: st-poweroff: Fix misleading Kconfig description Guenter Roeck
2015-01-25 18:13 ` Guenter Roeck [this message]
2015-01-25 18:40 ` [PATCH 1/6] power/reset: arm-versatile: Register with kernel restart handler Sebastian Reichel
2015-01-25 19:07 ` Guenter Roeck
2015-01-25 20:06 ` Sebastian Reichel
2015-01-25 20:15 ` Guenter Roeck
2015-01-25 20:31 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1422209622-31994-6-git-send-email-linux@roeck-us.net \
--to=linux@roeck-us.net \
--cc=dbaryshkov@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).