From 513e6fd3eb98b74a71e2d83149f98c4e6fc3ce64 Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Thu, 22 Sep 2011 01:53:22 +0000 Subject: 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 --- board/ti/beagle/beagle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 8cdceaf..aa5047c 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; -- cgit v1.1