hecubafb: Fix section mismatch warnings
PATCH 1/1 hecubafb: Fix section mismatch warnings
Fix the following compile warnings:
WARNING: drivers/video/hecubafb.o - Section mismatch: reference to .init.data:hecubafb_var from .text between 'hecubafb_probe' (at offset 0x17c) and 'hecubafb_dpy_update'
WARNING: drivers/video/hecubafb.o - Section mismatch: reference to .init.data:hecubafb_var from .text between 'hecubafb_probe' (at offset 0x19e) and 'hecubafb_dpy_update'
---
drivers/video/hecubafb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/video/hecubafb.c +2 -2
@@ -75,7 +75,7 @@ struct hecubafb_par {unsigned int irq; }; -static struct fb_fix_screeninfo hecubafb_fix__initdata = { +static struct fb_fix_screeninfo hecubafb_fix__devinitdata = { .id ="hecubafb" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_MONO01 ,
@@ -85,7 +85,7 @@ static struct fb_fix_screeninfo hecubafb .accel = FB_ACCEL_NONE, }; -static struct fb_var_screeninfo hecubafb_var__initdata = { +static struct fb_var_screeninfo hecubafb_var__devinitdata = { .xres =DPY_W , .yres =DPY_H , .xres_virtual =DPY_W ,
-------------------------------------------------------------------------
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