diff options
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/devices-imx21.h | 4 | ||||
-rw-r--r-- | arch/arm/mach-imx/devices.c | 26 | ||||
-rw-r--r-- | arch/arm/mach-imx/devices.h | 3 |
3 files changed, 4 insertions, 29 deletions
diff --git a/arch/arm/mach-imx/devices-imx21.h b/arch/arm/mach-imx/devices-imx21.h index 0c0eab17ccfd..16744d2d9b81 100644 --- a/arch/arm/mach-imx/devices-imx21.h +++ b/arch/arm/mach-imx/devices-imx21.h | |||
@@ -9,6 +9,10 @@ | |||
9 | #include <mach/mx21.h> | 9 | #include <mach/mx21.h> |
10 | #include <mach/devices-common.h> | 10 | #include <mach/devices-common.h> |
11 | 11 | ||
12 | extern const struct imx_imx21_hcd_data imx21_imx21_hcd_data __initconst; | ||
13 | #define imx21_add_imx21_hcd(pdata) \ | ||
14 | imx_add_imx21_hcd(&imx21_imx21_hcd_data, pdata) | ||
15 | |||
12 | extern const struct imx_imx2_wdt_data imx21_imx2_wdt_data __initconst; | 16 | extern const struct imx_imx2_wdt_data imx21_imx2_wdt_data __initconst; |
13 | #define imx21_add_imx2_wdt(pdata) \ | 17 | #define imx21_add_imx2_wdt(pdata) \ |
14 | imx_add_imx2_wdt(&imx21_imx2_wdt_data) | 18 | imx_add_imx2_wdt(&imx21_imx2_wdt_data) |
diff --git a/arch/arm/mach-imx/devices.c b/arch/arm/mach-imx/devices.c index 4360b9c8f893..8fd2545395f9 100644 --- a/arch/arm/mach-imx/devices.c +++ b/arch/arm/mach-imx/devices.c | |||
@@ -123,30 +123,4 @@ int __init imx27_register_gpios(void) | |||
123 | } | 123 | } |
124 | #endif | 124 | #endif |
125 | 125 | ||
126 | #ifdef CONFIG_MACH_MX21 | ||
127 | static struct resource mx21_usbhc_resources[] = { | ||
128 | { | ||
129 | .start = MX21_USBOTG_BASE_ADDR, | ||
130 | .end = MX21_USBOTG_BASE_ADDR + SZ_8K - 1, | ||
131 | .flags = IORESOURCE_MEM, | ||
132 | }, | ||
133 | { | ||
134 | .start = MX21_INT_USBHOST, | ||
135 | .end = MX21_INT_USBHOST, | ||
136 | .flags = IORESOURCE_IRQ, | ||
137 | }, | ||
138 | }; | ||
139 | |||
140 | struct platform_device mx21_usbhc_device = { | ||
141 | .name = "imx21-hcd", | ||
142 | .id = 0, | ||
143 | .dev = { | ||
144 | .dma_mask = &mx21_usbhc_device.dev.coherent_dma_mask, | ||
145 | .coherent_dma_mask = DMA_BIT_MASK(32), | ||
146 | }, | ||
147 | .num_resources = ARRAY_SIZE(mx21_usbhc_resources), | ||
148 | .resource = mx21_usbhc_resources, | ||
149 | }; | ||
150 | #endif | ||
151 | |||
152 | #endif | 126 | #endif |
diff --git a/arch/arm/mach-imx/devices.h b/arch/arm/mach-imx/devices.h index d1e7f48f7d52..e69de29bb2d1 100644 --- a/arch/arm/mach-imx/devices.h +++ b/arch/arm/mach-imx/devices.h | |||
@@ -1,3 +0,0 @@ | |||
1 | #if defined(CONFIG_MACH_MX21) || defined(CONFIG_MACH_MX27) | ||
2 | extern struct platform_device mx21_usbhc_device; | ||
3 | #endif | ||