diff options
author | Dirk Behme <dirk.behme@googlemail.com> | 2011-09-22 01:53:22 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-22 23:02:08 +0200 |
commit | 513e6fd3eb98b74a71e2d83149f98c4e6fc3ce64 (patch) | |
tree | 97144920bd535ce3eccede3e0ed2cc35746922ba /board/ti/beagle | |
parent | bc196029f53c2d82eb9a12eb8b66e696b6284941 (diff) | |
download | u-boot-imx-513e6fd3eb98b74a71e2d83149f98c4e6fc3ce64.zip u-boot-imx-513e6fd3eb98b74a71e2d83149f98c4e6fc3ce64.tar.gz u-boot-imx-513e6fd3eb98b74a71e2d83149f98c4e6fc3ce64.tar.bz2 |
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 <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>
Diffstat (limited to 'board/ti/beagle')
-rw-r--r-- | board/ti/beagle/beagle.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |