diff options
author | Justin Waters <justin.waters@timesys.com> | 2008-08-14 14:00:01 -0400 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2008-08-14 14:00:01 -0400 |
commit | 2831f192f840def7d1f516db64722788bf4d2656 (patch) | |
tree | cb4ad9741410fc9a7a3da09471ee50e953716e9b /drivers/video/mxc | |
parent | 38be9bcc9f2f668ffe2069615dc378f644ada842 (diff) |
Remove GFP_DMA flag from mx2fb driver2.6.24-mx27lite-200808141800
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 <justin.waters@timesys.com>
Diffstat (limited to 'drivers/video/mxc')
-rw-r--r-- | drivers/video/mxc/mx2fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |