MX51: remove warning in clock.c
PATCH 1/1 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 <[email protected]>
--- arch/arm/cpu/armv7/mx5/clock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/cpu/armv7/mx5/clock.c +1 -1
@@ -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;
Signature · 1 line
1.7.1