diff options
Diffstat (limited to 'arch/mips/nxp/pnx833x/common/platform.c')
-rw-r--r-- | arch/mips/nxp/pnx833x/common/platform.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/nxp/pnx833x/common/platform.c b/arch/mips/nxp/pnx833x/common/platform.c index b1ccbcc18f78..01f8345a2069 100644 --- a/arch/mips/nxp/pnx833x/common/platform.c +++ b/arch/mips/nxp/pnx833x/common/platform.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <irq-mapping.h> | 42 | #include <irq-mapping.h> |
43 | #include <pnx833x.h> | 43 | #include <pnx833x.h> |
44 | 44 | ||
45 | static u64 uart_dmamask = DMA_32BIT_MASK; | 45 | static u64 uart_dmamask = DMA_BIT_MASK(32); |
46 | 46 | ||
47 | static struct resource pnx833x_uart_resources[] = { | 47 | static struct resource pnx833x_uart_resources[] = { |
48 | [0] = { | 48 | [0] = { |
@@ -101,14 +101,14 @@ static struct platform_device pnx833x_uart_device = { | |||
101 | .id = -1, | 101 | .id = -1, |
102 | .dev = { | 102 | .dev = { |
103 | .dma_mask = &uart_dmamask, | 103 | .dma_mask = &uart_dmamask, |
104 | .coherent_dma_mask = DMA_32BIT_MASK, | 104 | .coherent_dma_mask = DMA_BIT_MASK(32), |
105 | .platform_data = pnx8xxx_ports, | 105 | .platform_data = pnx8xxx_ports, |
106 | }, | 106 | }, |
107 | .num_resources = ARRAY_SIZE(pnx833x_uart_resources), | 107 | .num_resources = ARRAY_SIZE(pnx833x_uart_resources), |
108 | .resource = pnx833x_uart_resources, | 108 | .resource = pnx833x_uart_resources, |
109 | }; | 109 | }; |
110 | 110 | ||
111 | static u64 ehci_dmamask = DMA_32BIT_MASK; | 111 | static u64 ehci_dmamask = DMA_BIT_MASK(32); |
112 | 112 | ||
113 | static struct resource pnx833x_usb_ehci_resources[] = { | 113 | static struct resource pnx833x_usb_ehci_resources[] = { |
114 | [0] = { | 114 | [0] = { |
@@ -128,7 +128,7 @@ static struct platform_device pnx833x_usb_ehci_device = { | |||
128 | .id = -1, | 128 | .id = -1, |
129 | .dev = { | 129 | .dev = { |
130 | .dma_mask = &ehci_dmamask, | 130 | .dma_mask = &ehci_dmamask, |
131 | .coherent_dma_mask = DMA_32BIT_MASK, | 131 | .coherent_dma_mask = DMA_BIT_MASK(32), |
132 | }, | 132 | }, |
133 | .num_resources = ARRAY_SIZE(pnx833x_usb_ehci_resources), | 133 | .num_resources = ARRAY_SIZE(pnx833x_usb_ehci_resources), |
134 | .resource = pnx833x_usb_ehci_resources, | 134 | .resource = pnx833x_usb_ehci_resources, |
@@ -198,7 +198,7 @@ static struct platform_device pnx833x_i2c1_device = { | |||
198 | }; | 198 | }; |
199 | #endif | 199 | #endif |
200 | 200 | ||
201 | static u64 ethernet_dmamask = DMA_32BIT_MASK; | 201 | static u64 ethernet_dmamask = DMA_BIT_MASK(32); |
202 | 202 | ||
203 | static struct resource pnx833x_ethernet_resources[] = { | 203 | static struct resource pnx833x_ethernet_resources[] = { |
204 | [0] = { | 204 | [0] = { |
@@ -218,7 +218,7 @@ static struct platform_device pnx833x_ethernet_device = { | |||
218 | .id = -1, | 218 | .id = -1, |
219 | .dev = { | 219 | .dev = { |
220 | .dma_mask = ðernet_dmamask, | 220 | .dma_mask = ðernet_dmamask, |
221 | .coherent_dma_mask = DMA_32BIT_MASK, | 221 | .coherent_dma_mask = DMA_BIT_MASK(32), |
222 | }, | 222 | }, |
223 | .num_resources = ARRAY_SIZE(pnx833x_ethernet_resources), | 223 | .num_resources = ARRAY_SIZE(pnx833x_ethernet_resources), |
224 | .resource = pnx833x_ethernet_resources, | 224 | .resource = pnx833x_ethernet_resources, |