diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-03-06 14:49:48 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-07 06:04:54 -0400 |
commit | eca8655ffa1ffb23c8f6f1485c1315a3087c8f38 (patch) | |
tree | ce06a53f4d49ee5bba5fda3d98807778b97da4df /arch/arm/plat-s3c24xx/devs.c | |
parent | 091438dd5668396328a3419abcbc6591159eb8d1 (diff) |
[ARM] S3C: Add common USB OHCI device definition
Add common definition for USB OHCI platform device, add a Kconfig
to selectively compile it and add update all the users.
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx/devs.c')
-rw-r--r-- | arch/arm/plat-s3c24xx/devs.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/arch/arm/plat-s3c24xx/devs.c b/arch/arm/plat-s3c24xx/devs.c index 16ac01d9b8ab..4eb378c89a39 100644 --- a/arch/arm/plat-s3c24xx/devs.c +++ b/arch/arm/plat-s3c24xx/devs.c | |||
@@ -136,36 +136,6 @@ struct platform_device *s3c24xx_uart_src[4] = { | |||
136 | struct platform_device *s3c24xx_uart_devs[4] = { | 136 | struct platform_device *s3c24xx_uart_devs[4] = { |
137 | }; | 137 | }; |
138 | 138 | ||
139 | /* USB Host Controller */ | ||
140 | |||
141 | static struct resource s3c_usb_resource[] = { | ||
142 | [0] = { | ||
143 | .start = S3C24XX_PA_USBHOST, | ||
144 | .end = S3C24XX_PA_USBHOST + S3C24XX_SZ_USBHOST - 1, | ||
145 | .flags = IORESOURCE_MEM, | ||
146 | }, | ||
147 | [1] = { | ||
148 | .start = IRQ_USBH, | ||
149 | .end = IRQ_USBH, | ||
150 | .flags = IORESOURCE_IRQ, | ||
151 | } | ||
152 | }; | ||
153 | |||
154 | static u64 s3c_device_usb_dmamask = 0xffffffffUL; | ||
155 | |||
156 | struct platform_device s3c_device_usb = { | ||
157 | .name = "s3c2410-ohci", | ||
158 | .id = -1, | ||
159 | .num_resources = ARRAY_SIZE(s3c_usb_resource), | ||
160 | .resource = s3c_usb_resource, | ||
161 | .dev = { | ||
162 | .dma_mask = &s3c_device_usb_dmamask, | ||
163 | .coherent_dma_mask = 0xffffffffUL | ||
164 | } | ||
165 | }; | ||
166 | |||
167 | EXPORT_SYMBOL(s3c_device_usb); | ||
168 | |||
169 | /* LCD Controller */ | 139 | /* LCD Controller */ |
170 | 140 | ||
171 | static struct resource s3c_lcd_resource[] = { | 141 | static struct resource s3c_lcd_resource[] = { |