diff options
author | Mike Rapoport <mike@compulab.co.il> | 2011-04-27 04:56:12 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-05-09 11:15:31 -0400 |
commit | 9e18630b689d658d65bf59508bfec084f61ff5c6 (patch) | |
tree | b9c1583d0d8eea28ad02b2a96ccf7116c8312fe2 /arch/arm/mach-omap2/board-zoom-peripherals.c | |
parent | 9a3f39ff36e11ea6b6c8b5f90337a864cb7e81f6 (diff) |
omap: musb: introduce default board config
Most boards use exactly the same configuration for musb initialization.
Create a default that can be shared amount different boards.
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-zoom-peripherals.c')
-rw-r--r-- | arch/arm/mach-omap2/board-zoom-peripherals.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c b/arch/arm/mach-omap2/board-zoom-peripherals.c index e4870c20f193..489294a715ce 100644 --- a/arch/arm/mach-omap2/board-zoom-peripherals.c +++ b/arch/arm/mach-omap2/board-zoom-peripherals.c | |||
@@ -363,12 +363,6 @@ static int __init omap_i2c_init(void) | |||
363 | return 0; | 363 | return 0; |
364 | } | 364 | } |
365 | 365 | ||
366 | static struct omap_musb_board_data musb_board_data = { | ||
367 | .interface_type = MUSB_INTERFACE_ULPI, | ||
368 | .mode = MUSB_OTG, | ||
369 | .power = 100, | ||
370 | }; | ||
371 | |||
372 | static void enable_board_wakeup_source(void) | 366 | static void enable_board_wakeup_source(void) |
373 | { | 367 | { |
374 | /* T2 interrupt line (keypad) */ | 368 | /* T2 interrupt line (keypad) */ |
@@ -383,7 +377,7 @@ void __init zoom_peripherals_init(void) | |||
383 | 377 | ||
384 | omap_i2c_init(); | 378 | omap_i2c_init(); |
385 | platform_device_register(&omap_vwlan_device); | 379 | platform_device_register(&omap_vwlan_device); |
386 | usb_musb_init(&musb_board_data); | 380 | usb_musb_init(NULL); |
387 | enable_board_wakeup_source(); | 381 | enable_board_wakeup_source(); |
388 | omap_serial_init(); | 382 | omap_serial_init(); |
389 | } | 383 | } |