From 2831f192f840def7d1f516db64722788bf4d2656 Mon Sep 17 00:00:00 2001 From: Justin Waters Date: Thu, 14 Aug 2008 14:00:01 -0400 Subject: Remove GFP_DMA flag from mx2fb driver The GFP_DMA flag is unneccesary when using dma_alloc_coherent, and may possibly break the code if an initramfs is used. There is no real reason why it should be limited to the first 16 MB of memory. I am removing it so that it will work with the initramfs system. Signed-off-by: Justin Waters --- drivers/video/mxc/mx2fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/mxc/mx2fb.c b/drivers/video/mxc/mx2fb.c index 5231ed5f4513..3f1116d3e91e 100644 --- a/drivers/video/mxc/mx2fb.c +++ b/drivers/video/mxc/mx2fb.c @@ -783,7 +783,7 @@ static int _map_video_memory(struct fb_info *info) info->fix.smem_len, (dma_addr_t *) & info->fix. smem_start, - GFP_DMA | GFP_KERNEL); + GFP_KERNEL); if (info->screen_base == 0) { dev_err(info->device, "Unable to allocate fb memory\n"); -- cgit v1.2.3