aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/gbefb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/gbefb.c')
-rw-r--r--drivers/video/gbefb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/gbefb.c b/drivers/video/gbefb.c
index f67db4268374..7d8c55d7fd28 100644
--- a/drivers/video/gbefb.c
+++ b/drivers/video/gbefb.c
@@ -13,6 +13,7 @@
13#include <linux/platform_device.h> 13#include <linux/platform_device.h>
14#include <linux/dma-mapping.h> 14#include <linux/dma-mapping.h>
15#include <linux/errno.h> 15#include <linux/errno.h>
16#include <linux/gfp.h>
16#include <linux/fb.h> 17#include <linux/fb.h>
17#include <linux/init.h> 18#include <linux/init.h>
18#include <linux/interrupt.h> 19#include <linux/interrupt.h>
@@ -701,7 +702,7 @@ static int gbefb_set_par(struct fb_info *info)
701 blocks of 512x128, 256x128 or 128x128 pixels, respectively for 8bit, 702 blocks of 512x128, 256x128 or 128x128 pixels, respectively for 8bit,
702 16bit and 32 bit modes (64 kB). They cover the screen with partial 703 16bit and 32 bit modes (64 kB). They cover the screen with partial
703 tiles on the right and/or bottom of the screen if needed. 704 tiles on the right and/or bottom of the screen if needed.
704 For exemple in 640x480 8 bit mode the mapping is: 705 For example in 640x480 8 bit mode the mapping is:
705 706
706 <-------- 640 -----> 707 <-------- 640 ----->
707 <---- 512 ----><128|384 offscreen> 708 <---- 512 ----><128|384 offscreen>
@@ -1128,7 +1129,7 @@ static int __init gbefb_setup(char *options)
1128 return 0; 1129 return 0;
1129} 1130}
1130 1131
1131static int __init gbefb_probe(struct platform_device *p_dev) 1132static int __devinit gbefb_probe(struct platform_device *p_dev)
1132{ 1133{
1133 int i, ret = 0; 1134 int i, ret = 0;
1134 struct fb_info *info; 1135 struct fb_info *info;