diff options
Diffstat (limited to 'arch/arm/plat-omap/fb.c')
-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 3a77b30f53d4..a3367b783fc7 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 <asm/mach/map.h> | 34 | #include <asm/mach/map.h> |
34 | 35 | ||
@@ -105,7 +106,7 @@ static struct platform_device omap_fb_device = { | |||
105 | .id = -1, | 106 | .id = -1, |
106 | .dev = { | 107 | .dev = { |
107 | .dma_mask = &omap_fb_dma_mask, | 108 | .dma_mask = &omap_fb_dma_mask, |
108 | .coherent_dma_mask = ~(u32)0, | 109 | .coherent_dma_mask = DMA_BIT_MASK(32), |
109 | .platform_data = &omapfb_config, | 110 | .platform_data = &omapfb_config, |
110 | }, | 111 | }, |
111 | .num_resources = 0, | 112 | .num_resources = 0, |
@@ -141,7 +142,7 @@ static struct platform_device omap_fb_device = { | |||
141 | .id = -1, | 142 | .id = -1, |
142 | .dev = { | 143 | .dev = { |
143 | .dma_mask = &omap_fb_dma_mask, | 144 | .dma_mask = &omap_fb_dma_mask, |
144 | .coherent_dma_mask = ~(u32)0, | 145 | .coherent_dma_mask = DMA_BIT_MASK(32), |
145 | .platform_data = &omapfb_config, | 146 | .platform_data = &omapfb_config, |
146 | }, | 147 | }, |
147 | .num_resources = 0, | 148 | .num_resources = 0, |