aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/devices.c')
-rw-r--r--arch/arm/mach-pxa/devices.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c
index 4a1eebb42e49..123ee19ca795 100644
--- a/arch/arm/mach-pxa/devices.c
+++ b/arch/arm/mach-pxa/devices.c
@@ -93,8 +93,19 @@ static struct resource pxa2xx_udc_resources[] = {
93 93
94static u64 udc_dma_mask = ~(u32)0; 94static u64 udc_dma_mask = ~(u32)0;
95 95
96struct platform_device pxa_device_udc = { 96struct platform_device pxa25x_device_udc = {
97 .name = "pxa2xx-udc", 97 .name = "pxa25x-udc",
98 .id = -1,
99 .resource = pxa2xx_udc_resources,
100 .num_resources = ARRAY_SIZE(pxa2xx_udc_resources),
101 .dev = {
102 .platform_data = &pxa_udc_info,
103 .dma_mask = &udc_dma_mask,
104 }
105};
106
107struct platform_device pxa27x_device_udc = {
108 .name = "pxa27x-udc",
98 .id = -1, 109 .id = -1,
99 .resource = pxa2xx_udc_resources, 110 .resource = pxa2xx_udc_resources,
100 .num_resources = ARRAY_SIZE(pxa2xx_udc_resources), 111 .num_resources = ARRAY_SIZE(pxa2xx_udc_resources),