mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
[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>
This commit is contained in:
parent
375726d7ed
commit
fe984bba30
@ -228,7 +228,7 @@ static int s3c2410fb_check_var(struct fb_var_screeninfo *var,
|
||||
* information
|
||||
*/
|
||||
|
||||
static int s3c2410fb_activate_var(struct s3c2410fb_info *fbi,
|
||||
static void s3c2410fb_activate_var(struct s3c2410fb_info *fbi,
|
||||
struct fb_var_screeninfo *var)
|
||||
{
|
||||
fbi->regs.lcdcon1 &= ~S3C2410_LCDCON1_MODEMASK;
|
||||
|
Loading…
Reference in New Issue
Block a user