Commit f657f4f7 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] asiliantfb: eliminate bad section references

asiliantfb refers to __initdata that should be __devinitdata
  and calls __init functions that should be __devinit;

Error: ./drivers/video/asiliantfb.o .text refers to 00000000000006ee R_X86_64_32S      .init.data+0x00000000000000a0
Error: ./drivers/video/asiliantfb.o .text refers to 0000000000000711 R_X86_64_32S      .init.data
Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3a5a6a4a
...@@ -465,7 +465,7 @@ static struct chips_init_reg chips_init_xr[] = ...@@ -465,7 +465,7 @@ static struct chips_init_reg chips_init_xr[] =
{0xd1, 0x01}, {0xd1, 0x01},
}; };
static void __init chips_hw_init(struct fb_info *p) static void __devinit chips_hw_init(struct fb_info *p)
{ {
int i; int i;
...@@ -488,7 +488,7 @@ static void __init chips_hw_init(struct fb_info *p) ...@@ -488,7 +488,7 @@ static void __init chips_hw_init(struct fb_info *p)
write_fr(chips_init_fr[i].addr, chips_init_fr[i].data); write_fr(chips_init_fr[i].addr, chips_init_fr[i].data);
} }
static struct fb_fix_screeninfo asiliantfb_fix __initdata = { static struct fb_fix_screeninfo asiliantfb_fix __devinitdata = {
.id = "Asiliant 69000", .id = "Asiliant 69000",
.type = FB_TYPE_PACKED_PIXELS, .type = FB_TYPE_PACKED_PIXELS,
.visual = FB_VISUAL_PSEUDOCOLOR, .visual = FB_VISUAL_PSEUDOCOLOR,
...@@ -497,7 +497,7 @@ static struct fb_fix_screeninfo asiliantfb_fix __initdata = { ...@@ -497,7 +497,7 @@ static struct fb_fix_screeninfo asiliantfb_fix __initdata = {
.smem_len = 0x200000, /* 2MB */ .smem_len = 0x200000, /* 2MB */
}; };
static struct fb_var_screeninfo asiliantfb_var __initdata = { static struct fb_var_screeninfo asiliantfb_var __devinitdata = {
.xres = 640, .xres = 640,
.yres = 480, .yres = 480,
.xres_virtual = 640, .xres_virtual = 640,
...@@ -518,7 +518,7 @@ static struct fb_var_screeninfo asiliantfb_var __initdata = { ...@@ -518,7 +518,7 @@ static struct fb_var_screeninfo asiliantfb_var __initdata = {
.vsync_len = 2, .vsync_len = 2,
}; };
static void __init init_asiliant(struct fb_info *p, unsigned long addr) static void __devinit init_asiliant(struct fb_info *p, unsigned long addr)
{ {
p->fix = asiliantfb_fix; p->fix = asiliantfb_fix;
p->fix.smem_start = addr; p->fix.smem_start = addr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment