aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-03-20 14:25:11 -0400
committerArnd Bergmann <arnd@arndb.de>2014-03-26 18:12:04 -0400
commit27addb96db38fc7279fcd40f9df10438f5dc8f2e (patch)
tree8692e78b10702b7ca53d71b918526a61c2595309
parent00e1b3a3d196ae876370633b32007bf98584e748 (diff)
ARM: nspire: Fix compiler warning
CC arch/arm/mach-nspire/nspire.o arch/arm/mach-nspire/nspire.c:79:2: warning: initialization from incompatible pointer type [enabled by default] arch/arm/mach-nspire/nspire.c:79:2: warning: (near initialization for '__mach_desc_NSPIRE.restart') [enabled by default] Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/arm/mach-nspire/nspire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-nspire/nspire.c b/arch/arm/mach-nspire/nspire.c
index 4b2ed2e8352f..3d24ebf12095 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)
63 nspire_auxdata, NULL); 63 nspire_auxdata, NULL);
64} 64}
65 65
66static void nspire_restart(char mode, const char *cmd) 66static void nspire_restart(enum reboot_mode mode, const char *cmd)
67{ 67{
68 void __iomem *base = ioremap(NSPIRE_MISC_PHYS_BASE, SZ_4K); 68 void __iomem *base = ioremap(NSPIRE_MISC_PHYS_BASE, SZ_4K);
69 if (!base) 69 if (!base)