diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-16 13:05:06 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-16 13:05:06 -0500 |
commit | 36facadd9ea98f8415d0dbb63e0763b7ee9d3911 (patch) | |
tree | 99dea00b332ed852f2b0a4923b581dd723f03634 /arch/arm/mach-davinci | |
parent | 2faa83e2a519abea1055d156ce1b42b8fa57e87b (diff) | |
parent | 0b83ae960cd7d4a5ee02786ecf41ab45688999bf (diff) |
Merge branch 'usb-next' into musb-merge
* usb-next: (132 commits)
USB: uas: Use GFP_NOIO instead of GFP_KERNEL in I/O submission path
USB: uas: Ensure we only bind to a UAS interface
USB: uas: Rename sense pipe and sense urb to status pipe and status urb
USB: uas: Use kzalloc instead of kmalloc
USB: uas: Fix up the Sense IU
usb: musb: core: kill unneeded #include's
DA8xx: assign name to MUSB IRQ resource
usb: gadget: g_ncm added
usb: gadget: f_ncm.c added
usb: gadget: u_ether: prepare for NCM
usb: pch_udc: Fix setup transfers with data out
usb: pch_udc: Fix compile error, warnings and checkpatch warnings
usb: add ab8500 usb transceiver driver
USB: gadget: Implement runtime PM for MSM bus glue driver
USB: gadget: Implement runtime PM for ci13xxx gadget
USB: gadget: Add USB controller driver for MSM SoC
USB: gadget: Introduce ci13xxx_udc_driver struct
USB: gadget: Initialize ci13xxx gadget device's coherent DMA mask
USB: gadget: Fix "scheduling while atomic" bugs in ci13xxx_udc
USB: gadget: Separate out PCI bus code from ci13xxx_udc
...
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/usb.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/usb.c b/arch/arm/mach-davinci/usb.c index 31f0cbea0caa..23d2b6d9fa63 100644 --- a/arch/arm/mach-davinci/usb.c +++ b/arch/arm/mach-davinci/usb.c | |||
@@ -64,17 +64,19 @@ static struct resource usb_resources[] = { | |||
64 | { | 64 | { |
65 | .start = IRQ_USBINT, | 65 | .start = IRQ_USBINT, |
66 | .flags = IORESOURCE_IRQ, | 66 | .flags = IORESOURCE_IRQ, |
67 | .name = "mc" | ||
67 | }, | 68 | }, |
68 | { | 69 | { |
69 | /* placeholder for the dedicated CPPI IRQ */ | 70 | /* placeholder for the dedicated CPPI IRQ */ |
70 | .flags = IORESOURCE_IRQ, | 71 | .flags = IORESOURCE_IRQ, |
72 | .name = "dma" | ||
71 | }, | 73 | }, |
72 | }; | 74 | }; |
73 | 75 | ||
74 | static u64 usb_dmamask = DMA_BIT_MASK(32); | 76 | static u64 usb_dmamask = DMA_BIT_MASK(32); |
75 | 77 | ||
76 | static struct platform_device usb_dev = { | 78 | static struct platform_device usb_dev = { |
77 | .name = "musb_hdrc", | 79 | .name = "musb-davinci", |
78 | .id = -1, | 80 | .id = -1, |
79 | .dev = { | 81 | .dev = { |
80 | .platform_data = &usb_data, | 82 | .platform_data = &usb_data, |
@@ -110,6 +112,7 @@ static struct resource da8xx_usb20_resources[] = { | |||
110 | { | 112 | { |
111 | .start = IRQ_DA8XX_USB_INT, | 113 | .start = IRQ_DA8XX_USB_INT, |
112 | .flags = IORESOURCE_IRQ, | 114 | .flags = IORESOURCE_IRQ, |
115 | .name = "mc", | ||
113 | }, | 116 | }, |
114 | }; | 117 | }; |
115 | 118 | ||
@@ -121,6 +124,7 @@ int __init da8xx_register_usb20(unsigned mA, unsigned potpgt) | |||
121 | 124 | ||
122 | usb_dev.resource = da8xx_usb20_resources; | 125 | usb_dev.resource = da8xx_usb20_resources; |
123 | usb_dev.num_resources = ARRAY_SIZE(da8xx_usb20_resources); | 126 | usb_dev.num_resources = ARRAY_SIZE(da8xx_usb20_resources); |
127 | usb_dev.name = "musb-da8xx"; | ||
124 | 128 | ||
125 | return platform_device_register(&usb_dev); | 129 | return platform_device_register(&usb_dev); |
126 | } | 130 | } |