Skip to contentSkip to conversation

s3c2410fb: Minor warning fix

PATCH New Antonino A. Daplas 1 participant 1 message Sep 28, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s3c2410fb: Minor warning fix

From: Ben Dooks <[email protected]>

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

---
 s3c2410fb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/video/s3c2410fb.c +2 -2
@@ -228,8 +228,8 @@ static int s3c2410fb_check_var(struct fb
  * 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;
 

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl