From: Jean Delvare Date: Tue, 20 Feb 2007 21:58:22 +0000 (-0800) Subject: [PATCH] i810fb: fix i810_check_params section mismatch X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f1d2120487de3620ff47367d7bc0e290dc868c47;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [PATCH] i810fb: fix i810_check_params section mismatch WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_check_params' (at offset 0x1123) and 'encode_fix' yres cannot be declared __devinitdata as it is used in i810_check_params(), which isn't __devinit. Signed-off-by: Jean Delvare Acked-by: James Simmons Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/i810/i810_main.c b/drivers/video/i810/i810_main.c index ab1b8fe34d6d..7e760197cf29 100644 --- a/drivers/video/i810/i810_main.c +++ b/drivers/video/i810/i810_main.c @@ -142,7 +142,7 @@ static int hsync2 __devinitdata; static int vsync1 __devinitdata; static int vsync2 __devinitdata; static int xres __devinitdata; -static int yres __devinitdata; +static int yres; static int vyres __devinitdata; static int sync __devinitdata; static int extvga __devinitdata;