]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
OMAP3: beagle: Fix build warning in beagle.c
authorDirk Behme <dirk.behme@googlemail.com>
Thu, 22 Sep 2011 01:53:22 +0000 (01:53 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 22 Sep 2011 21:02:08 +0000 (23:02 +0200)
Fix build warning

beagle.c:532: warning: initialization from incompatible pointer type

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
CC: Jason Kridner <jkridner@beagleboard.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
CC: Joel A Fernandes <agnel.joel@gmail.com>
Cc: Greg Turner <gregturner@ti.com>
CC: Sandeep Paulraj <s-paulraj@ti.com>
Acked-by: Jason Kridner <jkridner@beagleboard.org>
board/ti/beagle/beagle.c

index 8cdceaf56993832b40dffbdea2cbb7c12215b52a..aa5047c669755eb60c78ebcf643d3fbc48493a19 100644 (file)
@@ -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;