i810fb: Fix i810_check_params section mismatch
PATCH 1/1 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 <[email protected]>
--- drivers/video/i810/i810_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/i810/i810_main.c +1 -1
@@ -142,7 +142,7 @@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 ;
Signature · 7 lines
Jean Delvare ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV