diff options
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/board-evm.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-davinci/usb.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-davinci/board-evm.c b/arch/arm/mach-davinci/board-evm.c index 38b6a9ce2a93..0b97a528902b 100644 --- a/arch/arm/mach-davinci/board-evm.c +++ b/arch/arm/mach-davinci/board-evm.c | |||
@@ -118,7 +118,7 @@ static struct resource ide_resources[] = { | |||
118 | }, | 118 | }, |
119 | }; | 119 | }; |
120 | 120 | ||
121 | static u64 ide_dma_mask = DMA_32BIT_MASK; | 121 | static u64 ide_dma_mask = DMA_BIT_MASK(32); |
122 | 122 | ||
123 | static struct platform_device ide_dev = { | 123 | static struct platform_device ide_dev = { |
124 | .name = "palm_bk3710", | 124 | .name = "palm_bk3710", |
@@ -127,7 +127,7 @@ static struct platform_device ide_dev = { | |||
127 | .num_resources = ARRAY_SIZE(ide_resources), | 127 | .num_resources = ARRAY_SIZE(ide_resources), |
128 | .dev = { | 128 | .dev = { |
129 | .dma_mask = &ide_dma_mask, | 129 | .dma_mask = &ide_dma_mask, |
130 | .coherent_dma_mask = DMA_32BIT_MASK, | 130 | .coherent_dma_mask = DMA_BIT_MASK(32), |
131 | }, | 131 | }, |
132 | }; | 132 | }; |
133 | 133 | ||
diff --git a/arch/arm/mach-davinci/usb.c b/arch/arm/mach-davinci/usb.c index 69680784448a..2429b79f6da2 100644 --- a/arch/arm/mach-davinci/usb.c +++ b/arch/arm/mach-davinci/usb.c | |||
@@ -64,7 +64,7 @@ static struct resource usb_resources[] = { | |||
64 | }, | 64 | }, |
65 | }; | 65 | }; |
66 | 66 | ||
67 | static u64 usb_dmamask = DMA_32BIT_MASK; | 67 | static u64 usb_dmamask = DMA_BIT_MASK(32); |
68 | 68 | ||
69 | static struct platform_device usb_dev = { | 69 | static struct platform_device usb_dev = { |
70 | .name = "musb_hdrc", | 70 | .name = "musb_hdrc", |
@@ -72,7 +72,7 @@ static struct platform_device usb_dev = { | |||
72 | .dev = { | 72 | .dev = { |
73 | .platform_data = &usb_data, | 73 | .platform_data = &usb_data, |
74 | .dma_mask = &usb_dmamask, | 74 | .dma_mask = &usb_dmamask, |
75 | .coherent_dma_mask = DMA_32BIT_MASK, | 75 | .coherent_dma_mask = DMA_BIT_MASK(32), |
76 | }, | 76 | }, |
77 | .resource = usb_resources, | 77 | .resource = usb_resources, |
78 | .num_resources = ARRAY_SIZE(usb_resources), | 78 | .num_resources = ARRAY_SIZE(usb_resources), |