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

ARM: zynq: fix compilation warning

Fix the following compilation warning:

arch/arm/mach-zynq/common.c:110:2: warning: initialization from incompatible pointer type [enabled by default]
arch/arm/mach-zynq/common.c:110:2: warning: (near initialization for ‘__mach_desc_XILINX_EP107.restart’) [enabled by default]

Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Cc: Robin Holt <holt@sgi.com>
Cc: Michal Simek <michal.simek@xilinx.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
fe08bf9f ed882c3e

+1 -1
+1 -1
arch/arm/mach-zynq/common.c
··· 91 91 zynq_scu_map_io(); 92 92 } 93 93 94 - static void zynq_system_reset(char mode, const char *cmd) 94 + static void zynq_system_reset(enum reboot_mode mode, const char *cmd) 95 95 { 96 96 zynq_slcr_system_reset(); 97 97 }