summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-keystone
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@freescale.com>2013-06-27 14:49:27 +0200
committerOlof Johansson <olof@lixom.net>2013-07-23 11:03:54 -0700
commited882c3e72d6037589baa4328585c2b0450e673c (patch)
tree54075e6070333278e73ebe67ed97f860bfba8bde /arch/arm/mach-keystone
parente64bf95e68bf92e7f6d906da4715b937cec5646c (diff)
downloadop-kernel-dev-ed882c3e72d6037589baa4328585c2b0450e673c.zip
op-kernel-dev-ed882c3e72d6037589baa4328585c2b0450e673c.tar.gz
ARM: keystone: fix compilation warning
Fix the following compilation warning: arch/arm/mach-keystone/keystone.c:74:2: warning: initialization from incompatible pointer type [enabled by default] arch/arm/mach-keystone/keystone.c:74:2: warning: (near initialization for ‘__mach_desc_KEYSTONE.restart’) [enabled by default] Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com> Cc: Robin Holt <holt@sgi.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: trivial@kernel.org Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-keystone')
-rw-r--r--arch/arm/mach-keystone/keystone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
index fe4d9ff..b661c5c 100644
--- a/arch/arm/mach-keystone/keystone.c
+++ b/arch/arm/mach-keystone/keystone.c
@@ -49,7 +49,7 @@ static const char *keystone_match[] __initconst = {
NULL,
};
-void keystone_restart(char mode, const char *cmd)
+void keystone_restart(enum reboot_mode mode, const char *cmd)
{
u32 val;
OpenPOWER on IntegriCloud