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