Skip to contentSkip to conversation

i810fb: Fix i810_check_params section mismatch

PATCH New Jean Delvare 1 participant 1 message Dec 17, 2006 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

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.

---
 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