Skip to content

Commit

Permalink
xilinxfb:Remove __initdata from xilinx_fb_fix and xilinx_fb_var
Browse files Browse the repository at this point in the history
xilinxfb_drv_probe refers to both tables, but it cannot be initdata.

Signed-off-by: Grant Likely <[email protected]>
Cc: Andrei Konovalov <[email protected]>
Signed-off-by: Antonino Daplas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
glikely authored and Linus Torvalds committed Jul 31, 2007
1 parent aff39a8 commit 3f5b85d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/xilinxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
/*
* Here are the default fb_fix_screeninfo and fb_var_screeninfo structures
*/
static struct fb_fix_screeninfo xilinx_fb_fix __initdata = {
static struct fb_fix_screeninfo xilinx_fb_fix = {
.id = "Xilinx",
.type = FB_TYPE_PACKED_PIXELS,
.visual = FB_VISUAL_TRUECOLOR,
Expand All @@ -88,7 +88,7 @@ static struct fb_fix_screeninfo xilinx_fb_fix __initdata = {
.accel = FB_ACCEL_NONE
};

static struct fb_var_screeninfo xilinx_fb_var __initdata = {
static struct fb_var_screeninfo xilinx_fb_var = {
.xres = XRES,
.yres = YRES,
.xres_virtual = XRES_VIRTUAL,
Expand Down

0 comments on commit 3f5b85d

Please sign in to comment.