Skip to content
Snippets Groups Projects
Commit 513e6fd3 authored by Dirk Behme's avatar Dirk Behme Committed by Albert ARIBAUD
Browse files

OMAP3: beagle: Fix build warning in beagle.c


Fix build warning

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

Signed-off-by: default avatarDirk 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: default avatarJason Kridner <jkridner@beagleboard.org>
parent bc196029
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment