aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Kretzschmar <henne@nachtwindheim.de>2010-08-20 13:13:24 -0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2010-10-22 03:43:25 -0400
commit0c37dd7c41b7391698bbe354b81fe9909c281984 (patch)
tree771b8454625ca74865fdc1a7e699c4207d7c8e2a
parentc6597dc46121582475358e3d46971902587d02d6 (diff)
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: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r--drivers/video/q40fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/q40fb.c b/drivers/video/q40fb.c
index fc32c323a381..f5a39f5aa900 100644
--- a/drivers/video/q40fb.c
+++ b/drivers/video/q40fb.c
@@ -28,7 +28,7 @@
28 28
29#define Q40_PHYS_SCREEN_ADDR 0xFE800000 29#define Q40_PHYS_SCREEN_ADDR 0xFE800000
30 30
31static struct fb_fix_screeninfo q40fb_fix __initdata = { 31static struct fb_fix_screeninfo q40fb_fix __devinitdata = {
32 .id = "Q40", 32 .id = "Q40",
33 .smem_len = 1024*1024, 33 .smem_len = 1024*1024,
34 .type = FB_TYPE_PACKED_PIXELS, 34 .type = FB_TYPE_PACKED_PIXELS,
@@ -37,7 +37,7 @@ static struct fb_fix_screeninfo q40fb_fix __initdata = {
37 .accel = FB_ACCEL_NONE, 37 .accel = FB_ACCEL_NONE,
38}; 38};
39 39
40static struct fb_var_screeninfo q40fb_var __initdata = { 40static struct fb_var_screeninfo q40fb_var __devinitdata = {
41 .xres = 1024, 41 .xres = 1024,
42 .yres = 512, 42 .yres = 512,
43 .xres_virtual = 1024, 43 .xres_virtual = 1024,