diff options
Diffstat (limited to 'arch/avr32/boards/hammerhead/flash.c')
-rw-r--r-- | arch/avr32/boards/hammerhead/flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/avr32/boards/hammerhead/flash.c b/arch/avr32/boards/hammerhead/flash.c index 559bbcb03f9b..776c3cb9b6e4 100644 --- a/arch/avr32/boards/hammerhead/flash.c +++ b/arch/avr32/boards/hammerhead/flash.c | |||
@@ -280,13 +280,13 @@ static struct resource hh_fpga0_resource[] = { | |||
280 | }, | 280 | }, |
281 | }; | 281 | }; |
282 | 282 | ||
283 | static u64 hh_fpga0_dma_mask = DMA_32BIT_MASK; | 283 | static u64 hh_fpga0_dma_mask = DMA_BIT_MASK(32); |
284 | static struct platform_device hh_fpga0_device = { | 284 | static struct platform_device hh_fpga0_device = { |
285 | .name = "hh_fpga", | 285 | .name = "hh_fpga", |
286 | .id = 0, | 286 | .id = 0, |
287 | .dev = { | 287 | .dev = { |
288 | .dma_mask = &hh_fpga0_dma_mask, | 288 | .dma_mask = &hh_fpga0_dma_mask, |
289 | .coherent_dma_mask = DMA_32BIT_MASK, | 289 | .coherent_dma_mask = DMA_BIT_MASK(32), |
290 | }, | 290 | }, |
291 | .resource = hh_fpga0_resource, | 291 | .resource = hh_fpga0_resource, |
292 | .num_resources = ARRAY_SIZE(hh_fpga0_resource), | 292 | .num_resources = ARRAY_SIZE(hh_fpga0_resource), |