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>
This commit is contained in:
Alexander Shiyan 2014-03-20 22:25:11 +04:00 committed by Arnd Bergmann
parent 00e1b3a3d1
commit 27addb96db
1 changed files with 1 additions and 1 deletions

View File

@ -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)