s3c2410fb: Minor warning fix
Subsystems (2)
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.
Signed-off-by Ben Dooks <[email protected]>
Signed-off-by Antonino Daplas <[email protected]>
--- 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