diff options
author | Ben Dooks <ben-linux@fluff.org> | 2005-09-28 17:24:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-29 11:54:20 -0400 |
commit | fe984bba30a29398578da3d8c0503fa39e84b838 (patch) | |
tree | a6520c40ad3681e1731b98aa0794691bc034e9cd /drivers | |
parent | 375726d7ed08bd8cf2fe3cfe6b164ffb37fa7e90 (diff) |
[PATCH] s3c2410fb: Minor warning fix
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/s3c2410fb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c index 00c0223a352e..5ab79afb53b7 100644 --- a/drivers/video/s3c2410fb.c +++ b/drivers/video/s3c2410fb.c | |||
@@ -228,8 +228,8 @@ static int s3c2410fb_check_var(struct fb_var_screeninfo *var, | |||
228 | * information | 228 | * information |
229 | */ | 229 | */ |
230 | 230 | ||
231 | static int s3c2410fb_activate_var(struct s3c2410fb_info *fbi, | 231 | static void s3c2410fb_activate_var(struct s3c2410fb_info *fbi, |
232 | struct fb_var_screeninfo *var) | 232 | struct fb_var_screeninfo *var) |
233 | { | 233 | { |
234 | fbi->regs.lcdcon1 &= ~S3C2410_LCDCON1_MODEMASK; | 234 | fbi->regs.lcdcon1 &= ~S3C2410_LCDCON1_MODEMASK; |
235 | 235 | ||