From: dt.tangr@gmail.com
To: trivial@kernel.org
Cc: linux-kernel@vger.kernel.org, Daniel Tang <dt.tangr@gmail.com>,
linux@arm.linux.org.uk
Subject: [PATCH 2/2] arm: nspire: fix nspire_restart to take enum reboot_mode instead of a char so the correct function pointer is passed to DT_MACHINE_START
Date: Mon, 25 Nov 2013 15:29:24 +1100 [thread overview]
Message-ID: <1385353764-88784-2-git-send-email-dt.tangr@gmail.com> (raw)
In-Reply-To: <1385353764-88784-1-git-send-email-dt.tangr@gmail.com>
From: Daniel Tang <dt.tangr@gmail.com>
Signed-off-by: Daniel Tang <dt.tangr@gmail.com>
---
arch/arm/mach-nspire/nspire.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-nspire/nspire.c b/arch/arm/mach-nspire/nspire.c
index 4b2ed2e..3d24ebf 100644
--- a/arch/arm/mach-nspire/nspire.c
+++ b/arch/arm/mach-nspire/nspire.c
@@ -63,7 +63,7 @@ static void __init nspire_init(void)
nspire_auxdata, NULL);
}
-static void nspire_restart(char mode, const char *cmd)
+static void nspire_restart(enum reboot_mode mode, const char *cmd)
{
void __iomem *base = ioremap(NSPIRE_MISC_PHYS_BASE, SZ_4K);
if (!base)
--
1.8.1.3
next prev parent reply other threads:[~2013-11-25 4:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-25 4:29 [PATCH 1/2] clocksource: zevio-timer: fix incorrect function definition so the correct function pointer is passed to CLOCKSOURCE_OF_DECLARE dt.tangr
2013-11-25 4:29 ` dt.tangr [this message]
2013-12-02 13:54 ` Jiri Kosina
2013-12-02 13:58 ` Thomas Gleixner
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=1385353764-88784-2-git-send-email-dt.tangr@gmail.com \
--to=dt.tangr@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=trivial@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