diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-07-31 03:37:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-31 18:39:37 -0400 |
commit | 3f5b85d14ebc4a47de5993d2d74148f603aae639 (patch) | |
tree | 9e1fa2d4d7ee0ec8ecb038082775e1416afee0c0 /drivers/video/xilinxfb.c | |
parent | aff39a852eb20ee6709327d1db7610fa9bec3531 (diff) |
xilinxfb:Remove __initdata from xilinx_fb_fix and xilinx_fb_var
xilinxfb_drv_probe refers to both tables, but it cannot be initdata.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Andrei Konovalov <akonovalov@ru.mvista.com>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/xilinxfb.c')
-rw-r--r-- | drivers/video/xilinxfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index 1d29a89a86b4..44ce955a5b14 100644 --- a/drivers/video/xilinxfb.c +++ b/drivers/video/xilinxfb.c | |||
@@ -79,7 +79,7 @@ | |||
79 | /* | 79 | /* |
80 | * Here are the default fb_fix_screeninfo and fb_var_screeninfo structures | 80 | * Here are the default fb_fix_screeninfo and fb_var_screeninfo structures |
81 | */ | 81 | */ |
82 | static struct fb_fix_screeninfo xilinx_fb_fix __initdata = { | 82 | static struct fb_fix_screeninfo xilinx_fb_fix = { |
83 | .id = "Xilinx", | 83 | .id = "Xilinx", |
84 | .type = FB_TYPE_PACKED_PIXELS, | 84 | .type = FB_TYPE_PACKED_PIXELS, |
85 | .visual = FB_VISUAL_TRUECOLOR, | 85 | .visual = FB_VISUAL_TRUECOLOR, |
@@ -88,7 +88,7 @@ static struct fb_fix_screeninfo xilinx_fb_fix __initdata = { | |||
88 | .accel = FB_ACCEL_NONE | 88 | .accel = FB_ACCEL_NONE |
89 | }; | 89 | }; |
90 | 90 | ||
91 | static struct fb_var_screeninfo xilinx_fb_var __initdata = { | 91 | static struct fb_var_screeninfo xilinx_fb_var = { |
92 | .xres = XRES, | 92 | .xres = XRES, |
93 | .yres = YRES, | 93 | .yres = YRES, |
94 | .xres_virtual = XRES_VIRTUAL, | 94 | .xres_virtual = XRES_VIRTUAL, |