projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57d5488
)
omap3: Fix compile for Touch Book early_param
author
Tony Lindgren
<tony@atomide.com>
Tue, 9 Mar 2010 22:59:48 +0000
(14:59 -0800)
committer
Tony Lindgren
<tony@atomide.com>
Wed, 10 Mar 2010 00:39:58 +0000
(16:39 -0800)
Commit
2b0d8c251b8876d530a6bf671eb5425838fa698a
changed ARM to use
the common early_param code. Fix compile for Touch Book accordingly.
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap3touchbook.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap2/board-omap3touchbook.c
b/arch/arm/mach-omap2/board-omap3touchbook.c
index 3943d0f8322c68dd2ae95db6981b6a8c31a3a4f2..2a5bf5cea8833d95d96033a1ddf5a222ff8de490 100644
(file)
--- a/
arch/arm/mach-omap2/board-omap3touchbook.c
+++ b/
arch/arm/mach-omap2/board-omap3touchbook.c
@@
-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,
This page took
0.025245 seconds
and
5
git commands to generate.