diff options
author | Vincent Stehlé <vincent.stehle@freescale.com> | 2013-06-27 14:49:27 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-07-23 20:03:54 +0200 |
commit | ed882c3e72d6037589baa4328585c2b0450e673c (patch) | |
tree | 54075e6070333278e73ebe67ed97f860bfba8bde | |
parent | ARM: highbank: Only touch common coherency control register fields (diff) | |
download | linux-ed882c3e72d6037589baa4328585c2b0450e673c.tar.xz linux-ed882c3e72d6037589baa4328585c2b0450e673c.zip |
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>
-rw-r--r-- | arch/arm/mach-keystone/keystone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c index fe4d9ff93a7e..b661c5c2870a 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; |