summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-igep0030.c
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2011-04-27 11:56:12 +0300
committerTony Lindgren <tony@atomide.com>2011-05-09 08:15:31 -0700
commit9e18630b689d658d65bf59508bfec084f61ff5c6 (patch)
treeb9c1583d0d8eea28ad02b2a96ccf7116c8312fe2 /arch/arm/mach-omap2/board-igep0030.c
parent9a3f39ff36e11ea6b6c8b5f90337a864cb7e81f6 (diff)
downloadop-kernel-dev-9e18630b689d658d65bf59508bfec084f61ff5c6.zip
op-kernel-dev-9e18630b689d658d65bf59508bfec084f61ff5c6.tar.gz
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-igep0030.c')
-rw-r--r--arch/arm/mach-omap2/board-igep0030.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/board-igep0030.c b/arch/arm/mach-omap2/board-igep0030.c
index a831e85..512a7eb 100644
--- a/arch/arm/mach-omap2/board-igep0030.c
+++ b/arch/arm/mach-omap2/board-igep0030.c
@@ -357,12 +357,6 @@ static int __init igep3_i2c_init(void)
return 0;
}
-static struct omap_musb_board_data musb_board_data = {
- .interface_type = MUSB_INTERFACE_ULPI,
- .mode = MUSB_OTG,
- .power = 100,
-};
-
#if defined(CONFIG_LIBERTAS_SDIO) || defined(CONFIG_LIBERTAS_SDIO_MODULE)
static void __init igep3_wifi_bt_init(void)
@@ -424,7 +418,7 @@ static void __init igep3_init(void)
igep3_i2c_init();
platform_add_devices(igep3_devices, ARRAY_SIZE(igep3_devices));
omap_serial_init();
- usb_musb_init(&musb_board_data);
+ usb_musb_init(NULL);
usbhs_init(&usbhs_bdata);
igep3_flash_init();
OpenPOWER on IntegriCloud