Skip to content

Commit

Permalink
omap3: Fix compile for Touch Book early_param
Browse files Browse the repository at this point in the history
Commit 2b0d8c2 changed ARM to use
the common early_param code. Fix compile for Touch Book accordingly.

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Mar 10, 2010
1 parent 57d5488 commit d2197e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions arch/arm/mach-omap2/board-omap3touchbook.c
Original file line number Diff line number Diff line change
Expand Up @@ -518,14 +518,14 @@ static void omap3_touchbook_poweroff(void)
gpio_direction_output(TB_KILL_POWER_GPIO, 0);
}

static void __init early_touchbook_revision(char **p)
static int __init early_touchbook_revision(char *p)
{
if (!*p)
return;
if (!p)
return 0;

strict_strtoul(*p, 10, &touchbook_revision);
return strict_strtoul(p, 10, &touchbook_revision);
}
__early_param("tbr=", early_touchbook_revision);
early_param("tbr", early_touchbook_revision);

static struct omap_musb_board_data musb_board_data = {
.interface_type = MUSB_INTERFACE_ULPI,
Expand Down

0 comments on commit d2197e1

Please sign in to comment.