projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81129d0
)
MX51: remove warning in clock.c
author
Stefano Babic
<sbabic@denx.de>
Thu, 28 Oct 2010 09:08:52 +0000
(11:08 +0200)
committer
Stefano Babic
<sbabic@denx.de>
Thu, 28 Oct 2010 09:08:52 +0000
(11:08 +0200)
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>
arch/arm/cpu/armv7/mx5/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/mx5/clock.c
b/arch/arm/cpu/armv7/mx5/clock.c
index 00f649cf487dfb2295f9e94fd7d44e3da7404f33..0b04a8819a4740068d9b28b7a9ee2127ea99e70b 100644
(file)
--- 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;