A Antonino A. Daplas #
Message details and related content
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' Signed-off-by: Antonino Daplas <adaplas@gmail.com> --- drivers/video/hecubafb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/video/hecubafb.c b/drivers/video/hecubafb.c
index a32e1b9..396dc27 100644
--- a/drivers/video/hecubafb.c
+++ b/drivers/video/hecubafb.c@@ -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