提交 fe984bba 编写于 作者: B Ben Dooks 提交者: 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: NBen Dooks <ben-linux@fluff.org>
Signed-off-by: NAntonino Daplas <adaplas@pol.net>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 375726d7
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册