diff options
-rw-r--r-- | arch/arm/plat-omap/fb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c index bcbb9d5dc293..218963bd4bb3 100644 --- a/arch/arm/plat-omap/fb.c +++ b/arch/arm/plat-omap/fb.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/memblock.h> | 29 | #include <linux/memblock.h> |
30 | #include <linux/io.h> | 30 | #include <linux/io.h> |
31 | #include <linux/omapfb.h> | 31 | #include <linux/omapfb.h> |
32 | #include <linux/dma-mapping.h> | ||
32 | 33 | ||
33 | #include <mach/hardware.h> | 34 | #include <mach/hardware.h> |
34 | #include <asm/mach/map.h> | 35 | #include <asm/mach/map.h> |
@@ -45,7 +46,7 @@ static struct platform_device omap_fb_device = { | |||
45 | .id = -1, | 46 | .id = -1, |
46 | .dev = { | 47 | .dev = { |
47 | .dma_mask = &omap_fb_dma_mask, | 48 | .dma_mask = &omap_fb_dma_mask, |
48 | .coherent_dma_mask = ~(u32)0, | 49 | .coherent_dma_mask = DMA_BIT_MASK(32), |
49 | .platform_data = &omapfb_config, | 50 | .platform_data = &omapfb_config, |
50 | }, | 51 | }, |
51 | .num_resources = 0, | 52 | .num_resources = 0, |
@@ -81,7 +82,7 @@ static struct platform_device omap_fb_device = { | |||
81 | .id = -1, | 82 | .id = -1, |
82 | .dev = { | 83 | .dev = { |
83 | .dma_mask = &omap_fb_dma_mask, | 84 | .dma_mask = &omap_fb_dma_mask, |
84 | .coherent_dma_mask = ~(u32)0, | 85 | .coherent_dma_mask = DMA_BIT_MASK(32), |
85 | .platform_data = &omapfb_config, | 86 | .platform_data = &omapfb_config, |
86 | }, | 87 | }, |
87 | .num_resources = 0, | 88 | .num_resources = 0, |