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>
--- ../linux-2.6.14/linux-2.6.14-rc2/drivers/video/s3c2410fb.c 2005-09-25 15:18:42.000000000 +0100
+++ linux-2.6.13-simtec2/drivers/video/s3c2410fb.c 2005-09-26 18:03:17.000000000 +0100
@@ -228,8 +228,8 @@
* 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;