Skip to content

Commit

Permalink
sections: fix section conflicts in drivers/video
Browse files Browse the repository at this point in the history
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Oct 5, 2012
1 parent 16bd9b8 commit 556f00e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion drivers/video/aty/aty128fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ enum {
};

/* Must match above enum */
static const char *r128_family[] __devinitdata = {
static char * const r128_family[] __devinitconst = {
"AGP",
"PCI",
"PRO AGP",
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/geode/gx1fb_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static int crt_option = 1;
static char panel_option[32] = "";

/* Modes relevant to the GX1 (taken from modedb.c) */
static const struct fb_videomode __devinitdata gx1_modedb[] = {
static const struct fb_videomode __devinitconst gx1_modedb[] = {
/* 640x480-60 VESA */
{ NULL, 60, 640, 480, 39682, 48, 16, 33, 10, 96, 2,
0, FB_VMODE_NONINTERLACED, FB_MODE_IS_VESA },
Expand Down
4 changes: 2 additions & 2 deletions drivers/video/gxt4500.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ struct gxt4500_par {
static char *mode_option;

/* default mode: 1280x1024 @ 60 Hz, 8 bpp */
static const struct fb_videomode defaultmode __devinitdata = {
static const struct fb_videomode defaultmode __devinitconst = {
.refresh = 60,
.xres = 1280,
.yres = 1024,
Expand Down Expand Up @@ -581,7 +581,7 @@ static int gxt4500_blank(int blank, struct fb_info *info)
return 0;
}

static const struct fb_fix_screeninfo gxt4500_fix __devinitdata = {
static const struct fb_fix_screeninfo gxt4500_fix __devinitconst = {
.id = "IBM GXT4500P",
.type = FB_TYPE_PACKED_PIXELS,
.visual = FB_VISUAL_PSEUDOCOLOR,
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/i810/i810_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ static int i810fb_blank (int blank_mode, struct fb_info *info);
static void i810fb_release_resource (struct fb_info *info, struct i810fb_par *par);

/* PCI */
static const char *i810_pci_list[] __devinitdata = {
static const char * const i810_pci_list[] __devinitconst = {
"Intel(R) 810 Framebuffer Device" ,
"Intel(R) 810-DC100 Framebuffer Device" ,
"Intel(R) 810E Framebuffer Device" ,
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/jz4740_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ struct jzfb {
uint32_t pseudo_palette[16];
};

static const struct fb_fix_screeninfo jzfb_fix __devinitdata = {
static const struct fb_fix_screeninfo jzfb_fix __devinitconst = {
.id = "JZ4740 FB",
.type = FB_TYPE_PACKED_PIXELS,
.visual = FB_VISUAL_TRUECOLOR,
Expand Down

0 comments on commit 556f00e

Please sign in to comment.