aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-07-19 12:02:16 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-07-22 21:35:33 -0400
commitab40900b70dc31a64f23b1b4dbb0917afb039775 (patch)
tree9cf242bba708d3ef37c336b546755a236e834256
parent93d8a6fbe69a629a7bb37bb546699a5c49963dc5 (diff)
ARM: shmobile: armadillo800eva-reference: fix compiler warning
Fix the compiler warning: arch/arm/mach-shmobile/board-armadillo800eva-reference.c:196:2: warning: initialization from incompatible pointer type [enabled by default] arch/arm/mach-shmobile/board-armadillo800eva-reference.c:196:2: warning: (near initialization for '__mach_desc_ARMADILLO800EVA_DT.restart') [enabled by default] While at it also remove superfluous parenthesis. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/mach-shmobile/board-armadillo800eva-reference.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva-reference.c b/arch/arm/mach-shmobile/board-armadillo800eva-reference.c
index 03b85fec2ddb..8f677df2d4c4 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva-reference.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva-reference.c
@@ -190,10 +190,10 @@ static void __init eva_init(void)
190} 190}
191 191
192#define RESCNT2 IOMEM(0xe6188020) 192#define RESCNT2 IOMEM(0xe6188020)
193static void eva_restart(char mode, const char *cmd) 193static void eva_restart(enum reboot_mode mode, const char *cmd)
194{ 194{
195 /* Do soft power on reset */ 195 /* Do soft power on reset */
196 writel((1 << 31), RESCNT2); 196 writel(1 << 31, RESCNT2);
197} 197}
198 198
199static const char *eva_boards_compat_dt[] __initdata = { 199static const char *eva_boards_compat_dt[] __initdata = {