Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Vincent Stehlé and committed by
Olof Johansson
ed882c3e e64bf95e

+1 -1
+1 -1
arch/arm/mach-keystone/keystone.c
··· 49 49 NULL, 50 50 }; 51 51 52 - void keystone_restart(char mode, const char *cmd) 52 + void keystone_restart(enum reboot_mode mode, const char *cmd) 53 53 { 54 54 u32 val; 55 55