diff options
author | Matthias Kaehlcke <matthias@kaehlcke.net> | 2008-10-29 17:14:52 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-10-30 10:41:48 -0400 |
commit | 63890a0ee1af994122094bd01f87ea6251631a3f (patch) | |
tree | 80e97283ba733de9d748d41642abb266ca53fb51 /arch/arm | |
parent | 05cd2544f4b64d9a9eca0d170191867495e01feb (diff) |
[ARM] ep93xx: fix OHCI DMA mask
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-ep93xx/core.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index de53f0be71b9..48345fb34613 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/arch/arm/mach-ep93xx/core.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/serial_core.h> | 26 | #include <linux/serial_core.h> |
27 | #include <linux/device.h> | 27 | #include <linux/device.h> |
28 | #include <linux/mm.h> | 28 | #include <linux/mm.h> |
29 | #include <linux/dma-mapping.h> | ||
29 | #include <linux/time.h> | 30 | #include <linux/time.h> |
30 | #include <linux/timex.h> | 31 | #include <linux/timex.h> |
31 | #include <linux/delay.h> | 32 | #include <linux/delay.h> |
@@ -449,12 +450,13 @@ static struct resource ep93xx_ohci_resources[] = { | |||
449 | }, | 450 | }, |
450 | }; | 451 | }; |
451 | 452 | ||
453 | |||
452 | static struct platform_device ep93xx_ohci_device = { | 454 | static struct platform_device ep93xx_ohci_device = { |
453 | .name = "ep93xx-ohci", | 455 | .name = "ep93xx-ohci", |
454 | .id = -1, | 456 | .id = -1, |
455 | .dev = { | 457 | .dev = { |
456 | .dma_mask = (void *)0xffffffff, | 458 | .dma_mask = &ep93xx_ohci_device.dev.coherent_dma_mask, |
457 | .coherent_dma_mask = 0xffffffff, | 459 | .coherent_dma_mask = DMA_BIT_MASK(32), |
458 | }, | 460 | }, |
459 | .num_resources = ARRAY_SIZE(ep93xx_ohci_resources), | 461 | .num_resources = ARRAY_SIZE(ep93xx_ohci_resources), |
460 | .resource = ep93xx_ohci_resources, | 462 | .resource = ep93xx_ohci_resources, |