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

[PATCH] imsttfb: eliminate bad section references

Fix imsttfb section references:  change __initdata to __devinitdata
  and __init to __devinit.

Error: ./drivers/video/imsttfb.o .text refers to 000000000000103b R_X86_64_32S      .init.data+0x0000000000000040
Error: ./drivers/video/imsttfb.o .text refers to 0000000000001049 R_X86_64_32S      .init.data+0x0000000000000041
Error: ./drivers/video/imsttfb.o .text refers to 0000000000001064 R_X86_64_32S      .init.data
Error: ./drivers/video/imsttfb.o .text refers to 0000000000001071 R_X86_64_32S      .init.data+0x0000000000000001
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 335d6502
...@@ -228,7 +228,7 @@ struct initvalues { ...@@ -228,7 +228,7 @@ struct initvalues {
__u8 addr, value; __u8 addr, value;
}; };
static struct initvalues ibm_initregs[] __initdata = { static struct initvalues ibm_initregs[] __devinitdata = {
{ CLKCTL, 0x21 }, { CLKCTL, 0x21 },
{ SYNCCTL, 0x00 }, { SYNCCTL, 0x00 },
{ HSYNCPOS, 0x00 }, { HSYNCPOS, 0x00 },
...@@ -275,7 +275,7 @@ static struct initvalues ibm_initregs[] __initdata = { ...@@ -275,7 +275,7 @@ static struct initvalues ibm_initregs[] __initdata = {
{ KEYCTL, 0x00 } { KEYCTL, 0x00 }
}; };
static struct initvalues tvp_initregs[] __initdata = { static struct initvalues tvp_initregs[] __devinitdata = {
{ TVPIRICC, 0x00 }, { TVPIRICC, 0x00 },
{ TVPIRBRC, 0xe4 }, { TVPIRBRC, 0xe4 },
{ TVPIRLAC, 0x06 }, { TVPIRLAC, 0x06 },
...@@ -338,7 +338,7 @@ enum { ...@@ -338,7 +338,7 @@ enum {
static int inverse = 0; static int inverse = 0;
static char fontname[40] __initdata = { 0 }; static char fontname[40] __initdata = { 0 };
#if defined(CONFIG_PPC) #if defined(CONFIG_PPC)
static signed char init_vmode __initdata = -1, init_cmode __initdata = -1; static signed char init_vmode __devinitdata = -1, init_cmode __devinitdata = -1;
#endif #endif
static struct imstt_regvals tvp_reg_init_2 = { static struct imstt_regvals tvp_reg_init_2 = {
...@@ -1348,7 +1348,7 @@ static struct fb_ops imsttfb_ops = { ...@@ -1348,7 +1348,7 @@ static struct fb_ops imsttfb_ops = {
.fb_ioctl = imsttfb_ioctl, .fb_ioctl = imsttfb_ioctl,
}; };
static void __init static void __devinit
init_imstt(struct fb_info *info) init_imstt(struct fb_info *info)
{ {
struct imstt_par *par = (struct imstt_par *) info->par; struct imstt_par *par = (struct imstt_par *) info->par;
......
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