[BW2]: Fix section mismatch warnings.

Fix section mismatch warnings by moving data into __devinitdata section.
Add __devinit to two initialization functions.

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Robert Reif and committed by David S. Miller 63abdcdc 8fdab476

+9 -9
+9 -9
drivers/video/bw2.c
··· 186 * Initialisation 187 */ 188 189 - static void 190 - bw2_init_fix(struct fb_info *info, int linebytes) 191 { 192 strlcpy(info->fix.id, "bwtwo", sizeof(info->fix.id)); 193 ··· 198 info->fix.accel = FB_ACCEL_SUN_BWTWO; 199 } 200 201 - static u8 bw2regs_1600[] __initdata = { 202 0x14, 0x8b, 0x15, 0x28, 0x16, 0x03, 0x17, 0x13, 203 0x18, 0x7b, 0x19, 0x05, 0x1a, 0x34, 0x1b, 0x2e, 204 0x1c, 0x00, 0x1d, 0x0a, 0x1e, 0xff, 0x1f, 0x01, 205 0x10, 0x21, 0 206 }; 207 208 - static u8 bw2regs_ecl[] __initdata = { 209 0x14, 0x65, 0x15, 0x1e, 0x16, 0x04, 0x17, 0x0c, 210 0x18, 0x5e, 0x19, 0x03, 0x1a, 0xa7, 0x1b, 0x23, 211 0x1c, 0x00, 0x1d, 0x08, 0x1e, 0xff, 0x1f, 0x01, 212 0x10, 0x20, 0 213 }; 214 215 - static u8 bw2regs_analog[] __initdata = { 216 0x14, 0xbb, 0x15, 0x2b, 0x16, 0x03, 0x17, 0x13, 217 0x18, 0xb0, 0x19, 0x03, 0x1a, 0xa6, 0x1b, 0x22, 218 0x1c, 0x01, 0x1d, 0x05, 0x1e, 0xff, 0x1f, 0x01, 219 0x10, 0x20, 0 220 }; 221 222 - static u8 bw2regs_76hz[] __initdata = { 223 0x14, 0xb7, 0x15, 0x27, 0x16, 0x03, 0x17, 0x0f, 224 0x18, 0xae, 0x19, 0x03, 0x1a, 0xae, 0x1b, 0x2a, 225 0x1c, 0x01, 0x1d, 0x09, 0x1e, 0xff, 0x1f, 0x01, 226 0x10, 0x24, 0 227 }; 228 229 - static u8 bw2regs_66hz[] __initdata = { 230 0x14, 0xbb, 0x15, 0x2b, 0x16, 0x04, 0x17, 0x14, 231 0x18, 0xae, 0x19, 0x03, 0x1a, 0xa8, 0x1b, 0x24, 232 0x1c, 0x01, 0x1d, 0x05, 0x1e, 0xff, 0x1f, 0x01, 233 0x10, 0x20, 0 234 }; 235 236 - static void bw2_do_default_mode(struct bw2_par *par, struct fb_info *info, 237 - int *linebytes) 238 { 239 u8 status, mon; 240 u8 *p;
··· 186 * Initialisation 187 */ 188 189 + static void __devinit bw2_init_fix(struct fb_info *info, int linebytes) 190 { 191 strlcpy(info->fix.id, "bwtwo", sizeof(info->fix.id)); 192 ··· 199 info->fix.accel = FB_ACCEL_SUN_BWTWO; 200 } 201 202 + static u8 bw2regs_1600[] __devinitdata = { 203 0x14, 0x8b, 0x15, 0x28, 0x16, 0x03, 0x17, 0x13, 204 0x18, 0x7b, 0x19, 0x05, 0x1a, 0x34, 0x1b, 0x2e, 205 0x1c, 0x00, 0x1d, 0x0a, 0x1e, 0xff, 0x1f, 0x01, 206 0x10, 0x21, 0 207 }; 208 209 + static u8 bw2regs_ecl[] __devinitdata = { 210 0x14, 0x65, 0x15, 0x1e, 0x16, 0x04, 0x17, 0x0c, 211 0x18, 0x5e, 0x19, 0x03, 0x1a, 0xa7, 0x1b, 0x23, 212 0x1c, 0x00, 0x1d, 0x08, 0x1e, 0xff, 0x1f, 0x01, 213 0x10, 0x20, 0 214 }; 215 216 + static u8 bw2regs_analog[] __devinitdata = { 217 0x14, 0xbb, 0x15, 0x2b, 0x16, 0x03, 0x17, 0x13, 218 0x18, 0xb0, 0x19, 0x03, 0x1a, 0xa6, 0x1b, 0x22, 219 0x1c, 0x01, 0x1d, 0x05, 0x1e, 0xff, 0x1f, 0x01, 220 0x10, 0x20, 0 221 }; 222 223 + static u8 bw2regs_76hz[] __devinitdata = { 224 0x14, 0xb7, 0x15, 0x27, 0x16, 0x03, 0x17, 0x0f, 225 0x18, 0xae, 0x19, 0x03, 0x1a, 0xae, 0x1b, 0x2a, 226 0x1c, 0x01, 0x1d, 0x09, 0x1e, 0xff, 0x1f, 0x01, 227 0x10, 0x24, 0 228 }; 229 230 + static u8 bw2regs_66hz[] __devinitdata = { 231 0x14, 0xbb, 0x15, 0x2b, 0x16, 0x04, 0x17, 0x14, 232 0x18, 0xae, 0x19, 0x03, 0x1a, 0xa8, 0x1b, 0x24, 233 0x1c, 0x01, 0x1d, 0x05, 0x1e, 0xff, 0x1f, 0x01, 234 0x10, 0x20, 0 235 }; 236 237 + static void __devinit bw2_do_default_mode(struct bw2_par *par, 238 + struct fb_info *info, 239 + int *linebytes) 240 { 241 u8 status, mon; 242 u8 *p;