Commit 0c37dd7c authored by Henrik Kretzschmar's avatar Henrik Kretzschmar Committed by Geert Uytterhoeven

fbdev/m68k: Fix section mismatches in q40fb.c

This patch moves the q40_fix and q40_var structures from .init.data
to .devinit.data.
This is where now the probe function resides, which only uses them.
Signed-off-by: default avatarHenrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent c6597dc4
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#define Q40_PHYS_SCREEN_ADDR 0xFE800000 #define Q40_PHYS_SCREEN_ADDR 0xFE800000
static struct fb_fix_screeninfo q40fb_fix __initdata = { static struct fb_fix_screeninfo q40fb_fix __devinitdata = {
.id = "Q40", .id = "Q40",
.smem_len = 1024*1024, .smem_len = 1024*1024,
.type = FB_TYPE_PACKED_PIXELS, .type = FB_TYPE_PACKED_PIXELS,
...@@ -37,7 +37,7 @@ static struct fb_fix_screeninfo q40fb_fix __initdata = { ...@@ -37,7 +37,7 @@ static struct fb_fix_screeninfo q40fb_fix __initdata = {
.accel = FB_ACCEL_NONE, .accel = FB_ACCEL_NONE,
}; };
static struct fb_var_screeninfo q40fb_var __initdata = { static struct fb_var_screeninfo q40fb_var __devinitdata = {
.xres = 1024, .xres = 1024,
.yres = 512, .yres = 512,
.xres_virtual = 1024, .xres_virtual = 1024,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment