From: Stefano Babic Date: Thu, 28 Oct 2010 09:08:52 +0000 (+0200) Subject: MX51: remove warning in clock.c X-Git-Tag: v2010.12-rc2~83^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9a0044183a148ab553e296848cbfa4338fc83323;p=oweals%2Fu-boot.git MX51: remove warning in clock.c The patch removes the warning: clock.c:291: warning: initialization from incompatible pointer type after constification of args[] Signed-off-by: Stefano Babic --- diff --git a/arch/arm/cpu/armv7/mx5/clock.c b/arch/arm/cpu/armv7/mx5/clock.c index 00f649cf48..0b04a8819a 100644 --- a/arch/arm/cpu/armv7/mx5/clock.c +++ b/arch/arm/cpu/armv7/mx5/clock.c @@ -269,7 +269,7 @@ u32 imx_get_fecclk(void) /* * Dump some core clockes. */ -int do_mx5_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) +int do_mx5_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { u32 freq;