diff options
Diffstat (limited to 'arch/arm/mach-omap2/usb-musb.c')
| -rw-r--r-- | arch/arm/mach-omap2/usb-musb.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index d85296dc896c..739e59e8025c 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c | |||
| @@ -155,20 +155,6 @@ static struct platform_device musb_device = { | |||
| 155 | .resource = musb_resources, | 155 | .resource = musb_resources, |
| 156 | }; | 156 | }; |
| 157 | 157 | ||
| 158 | #ifdef CONFIG_NOP_USB_XCEIV | ||
| 159 | static u64 nop_xceiv_dmamask = DMA_BIT_MASK(32); | ||
| 160 | |||
| 161 | static struct platform_device nop_xceiv_device = { | ||
| 162 | .name = "nop_usb_xceiv", | ||
| 163 | .id = -1, | ||
| 164 | .dev = { | ||
| 165 | .dma_mask = &nop_xceiv_dmamask, | ||
| 166 | .coherent_dma_mask = DMA_BIT_MASK(32), | ||
| 167 | .platform_data = NULL, | ||
| 168 | }, | ||
| 169 | }; | ||
| 170 | #endif | ||
| 171 | |||
| 172 | void __init usb_musb_init(void) | 158 | void __init usb_musb_init(void) |
| 173 | { | 159 | { |
| 174 | if (cpu_is_omap243x()) | 160 | if (cpu_is_omap243x()) |
| @@ -183,13 +169,6 @@ void __init usb_musb_init(void) | |||
| 183 | */ | 169 | */ |
| 184 | musb_plat.clock = "ick"; | 170 | musb_plat.clock = "ick"; |
| 185 | 171 | ||
| 186 | #ifdef CONFIG_NOP_USB_XCEIV | ||
| 187 | if (platform_device_register(&nop_xceiv_device) < 0) { | ||
| 188 | printk(KERN_ERR "Unable to register NOP-XCEIV device\n"); | ||
| 189 | return; | ||
| 190 | } | ||
| 191 | #endif | ||
| 192 | |||
| 193 | if (platform_device_register(&musb_device) < 0) { | 172 | if (platform_device_register(&musb_device) < 0) { |
| 194 | printk(KERN_ERR "Unable to register HS-USB (MUSB) device\n"); | 173 | printk(KERN_ERR "Unable to register HS-USB (MUSB) device\n"); |
| 195 | return; | 174 | return; |
