Skip to contentSkip to conversation

s3c2410fb - minor warning fix

PATCH New Ben Dooks 1 participant 1 message Sep 26, 2005

Subsystems (2)
lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 s3c2410fb - minor warning fix

The function s3c2410fb_activate_var does not return a value, therefore it should be declared void.

drivers/video/s3c2410fb.c renamed from linux-2.6.14/linux-2.6.14-rc2/drivers/video/s3c2410fb.c +2 -2
@@ -228,8 +228,8 @@
  * 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;
 
drivers/video/s3c2410fb.c renamed from linux-2.6.14/linux-2.6.14-rc2/drivers/video/s3c2410fb.c +2 -2
@@ -228,8 +228,8 @@
  * 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;