Skip to content

Commit

Permalink
fbdev/m68k: Fix section mismatches in q40fb.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Henrik Kretzschmar authored and Geert Uytterhoeven committed Oct 22, 2010
1 parent c6597dc commit 0c37dd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/q40fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#define Q40_PHYS_SCREEN_ADDR 0xFE800000

static struct fb_fix_screeninfo q40fb_fix __initdata = {
static struct fb_fix_screeninfo q40fb_fix __devinitdata = {
.id = "Q40",
.smem_len = 1024*1024,
.type = FB_TYPE_PACKED_PIXELS,
Expand All @@ -37,7 +37,7 @@ static struct fb_fix_screeninfo q40fb_fix __initdata = {
.accel = FB_ACCEL_NONE,
};

static struct fb_var_screeninfo q40fb_var __initdata = {
static struct fb_var_screeninfo q40fb_var __devinitdata = {
.xres = 1024,
.yres = 512,
.xres_virtual = 1024,
Expand Down

0 comments on commit 0c37dd7

Please sign in to comment.