diff options
author | eric miao <eric.miao@marvell.com> | 2007-12-11 20:29:33 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 10:07:54 -0500 |
commit | ec68e45b75adab3a78dea4ecf0e645127deee8ae (patch) | |
tree | ff9990df6c524265b018b9aa86919b690f22f9d1 /arch/arm/mach-pxa/pxa27x.c | |
parent | e77ec1898f9693a3572bdd03eb5d2256166d5464 (diff) |
[ARM] pxa: move pxa27x_device_ohci out of pxa27x.c for use with pxa3xx
Signed-off-by: eric miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa27x.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index 12dd2b0629bf..ec7597b1cb54 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c | |||
@@ -374,37 +374,6 @@ void __init pxa27x_init_irq(void) | |||
374 | * device registration specific to PXA27x. | 374 | * device registration specific to PXA27x. |
375 | */ | 375 | */ |
376 | 376 | ||
377 | static u64 pxa27x_dmamask = 0xffffffffUL; | ||
378 | |||
379 | static struct resource pxa27x_ohci_resources[] = { | ||
380 | [0] = { | ||
381 | .start = 0x4C000000, | ||
382 | .end = 0x4C00ff6f, | ||
383 | .flags = IORESOURCE_MEM, | ||
384 | }, | ||
385 | [1] = { | ||
386 | .start = IRQ_USBH1, | ||
387 | .end = IRQ_USBH1, | ||
388 | .flags = IORESOURCE_IRQ, | ||
389 | }, | ||
390 | }; | ||
391 | |||
392 | struct platform_device pxa27x_device_ohci = { | ||
393 | .name = "pxa27x-ohci", | ||
394 | .id = -1, | ||
395 | .dev = { | ||
396 | .dma_mask = &pxa27x_dmamask, | ||
397 | .coherent_dma_mask = 0xffffffff, | ||
398 | }, | ||
399 | .num_resources = ARRAY_SIZE(pxa27x_ohci_resources), | ||
400 | .resource = pxa27x_ohci_resources, | ||
401 | }; | ||
402 | |||
403 | void __init pxa_set_ohci_info(struct pxaohci_platform_data *info) | ||
404 | { | ||
405 | pxa_register_device(&pxa27x_device_ohci, info); | ||
406 | } | ||
407 | |||
408 | static struct resource i2c_power_resources[] = { | 377 | static struct resource i2c_power_resources[] = { |
409 | { | 378 | { |
410 | .start = 0x40f00180, | 379 | .start = 0x40f00180, |