Commit fe984bba authored by Ben Dooks's avatar Ben Dooks Committed by Linus Torvalds

[PATCH] s3c2410fb: Minor warning fix

The function s3c2410fb_activate_var does not return
a value, therefore it should be declared void.
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 375726d7
...@@ -228,7 +228,7 @@ static int s3c2410fb_check_var(struct fb_var_screeninfo *var, ...@@ -228,7 +228,7 @@ static int s3c2410fb_check_var(struct fb_var_screeninfo *var,
* information * information
*/ */
static int s3c2410fb_activate_var(struct s3c2410fb_info *fbi, static void s3c2410fb_activate_var(struct s3c2410fb_info *fbi,
struct fb_var_screeninfo *var) struct fb_var_screeninfo *var)
{ {
fbi->regs.lcdcon1 &= ~S3C2410_LCDCON1_MODEMASK; fbi->regs.lcdcon1 &= ~S3C2410_LCDCON1_MODEMASK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment