]> err.no Git - linux-2.6/commitdiff
[PATCH] s3c2410fb: Minor warning fix
authorBen Dooks <ben-linux@fluff.org>
Wed, 28 Sep 2005 21:24:38 +0000 (05:24 +0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 29 Sep 2005 15:54:20 +0000 (08:54 -0700)
The function s3c2410fb_activate_var does not return
a value, therefore it should be declared void.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/s3c2410fb.c

index 00c0223a352ea861b7318d9a81af2f3a0c09f406..5ab79afb53b78bdce439488c1fa53ce457290471 100644 (file)
@@ -228,8 +228,8 @@ static int s3c2410fb_check_var(struct fb_var_screeninfo *var,
  * information
 */
 
-static int s3c2410fb_activate_var(struct s3c2410fb_info *fbi,
-                                 struct fb_var_screeninfo *var)
+static void s3c2410fb_activate_var(struct s3c2410fb_info *fbi,
+                                  struct fb_var_screeninfo *var)
 {
        fbi->regs.lcdcon1 &= ~S3C2410_LCDCON1_MODEMASK;