From: Dirk Behme Date: Thu, 22 Sep 2011 01:53:22 +0000 (+0000) Subject: OMAP3: beagle: Fix build warning in beagle.c X-Git-Tag: v2011.09~6^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=513e6fd3eb98b74a71e2d83149f98c4e6fc3ce64;p=u-boot OMAP3: beagle: Fix build warning in beagle.c Fix build warning beagle.c:532: warning: initialization from incompatible pointer type Signed-off-by: Dirk Behme CC: Jason Kridner CC: Koen Kooi CC: Joel A Fernandes Cc: Greg Turner CC: Sandeep Paulraj Acked-by: Jason Kridner --- diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 8cdceaf569..aa5047c669 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -486,7 +486,7 @@ int ehci_hcd_init(void) * Returns - 1 if button is held down * 0 if button is not held down */ -int do_userbutton (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) +int do_userbutton(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { int button = 0; int gpio;