diff options
author | Stefano Babic <sbabic@denx.de> | 2010-10-28 11:08:52 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2010-10-28 11:08:52 +0200 |
commit | 9a0044183a148ab553e296848cbfa4338fc83323 (patch) | |
tree | 208cdb43a3ab18c5909fc93dd20870e3d7a5d637 /arch/arm/cpu/armv7 | |
parent | 81129d07a0e9f6e28029170b082d6f8810f72712 (diff) | |
download | u-boot-imx-9a0044183a148ab553e296848cbfa4338fc83323.zip u-boot-imx-9a0044183a148ab553e296848cbfa4338fc83323.tar.gz u-boot-imx-9a0044183a148ab553e296848cbfa4338fc83323.tar.bz2 |
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 <sbabic@denx.de>
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r-- | arch/arm/cpu/armv7/mx5/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx5/clock.c b/arch/arm/cpu/armv7/mx5/clock.c index 00f649c..0b04a88 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; |