diff options
Diffstat (limited to 'drivers/video/chipsfb.c')
-rw-r--r-- | drivers/video/chipsfb.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/video/chipsfb.c b/drivers/video/chipsfb.c index cff742abdc5d..206a66b61072 100644 --- a/drivers/video/chipsfb.c +++ b/drivers/video/chipsfb.c | |||
@@ -292,7 +292,7 @@ static void __init chips_hw_init(void) | |||
292 | write_fr(chips_init_fr[i].addr, chips_init_fr[i].data); | 292 | write_fr(chips_init_fr[i].addr, chips_init_fr[i].data); |
293 | } | 293 | } |
294 | 294 | ||
295 | static struct fb_fix_screeninfo chipsfb_fix __devinitdata = { | 295 | static struct fb_fix_screeninfo chipsfb_fix = { |
296 | .id = "C&T 65550", | 296 | .id = "C&T 65550", |
297 | .type = FB_TYPE_PACKED_PIXELS, | 297 | .type = FB_TYPE_PACKED_PIXELS, |
298 | .visual = FB_VISUAL_PSEUDOCOLOR, | 298 | .visual = FB_VISUAL_PSEUDOCOLOR, |
@@ -309,7 +309,7 @@ static struct fb_fix_screeninfo chipsfb_fix __devinitdata = { | |||
309 | .smem_len = 0x100000, /* 1MB */ | 309 | .smem_len = 0x100000, /* 1MB */ |
310 | }; | 310 | }; |
311 | 311 | ||
312 | static struct fb_var_screeninfo chipsfb_var __devinitdata = { | 312 | static struct fb_var_screeninfo chipsfb_var = { |
313 | .xres = 800, | 313 | .xres = 800, |
314 | .yres = 600, | 314 | .yres = 600, |
315 | .xres_virtual = 800, | 315 | .xres_virtual = 800, |
@@ -330,7 +330,7 @@ static struct fb_var_screeninfo chipsfb_var __devinitdata = { | |||
330 | .vsync_len = 8, | 330 | .vsync_len = 8, |
331 | }; | 331 | }; |
332 | 332 | ||
333 | static void __devinit init_chips(struct fb_info *p, unsigned long addr) | 333 | static void init_chips(struct fb_info *p, unsigned long addr) |
334 | { | 334 | { |
335 | memset(p->screen_base, 0, 0x100000); | 335 | memset(p->screen_base, 0, 0x100000); |
336 | 336 | ||
@@ -347,8 +347,7 @@ static void __devinit init_chips(struct fb_info *p, unsigned long addr) | |||
347 | chips_hw_init(); | 347 | chips_hw_init(); |
348 | } | 348 | } |
349 | 349 | ||
350 | static int __devinit | 350 | static int chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent) |
351 | chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent) | ||
352 | { | 351 | { |
353 | struct fb_info *p; | 352 | struct fb_info *p; |
354 | unsigned long addr, size; | 353 | unsigned long addr, size; |
@@ -438,7 +437,7 @@ chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent) | |||
438 | return rc; | 437 | return rc; |
439 | } | 438 | } |
440 | 439 | ||
441 | static void __devexit chipsfb_remove(struct pci_dev *dp) | 440 | static void chipsfb_remove(struct pci_dev *dp) |
442 | { | 441 | { |
443 | struct fb_info *p = pci_get_drvdata(dp); | 442 | struct fb_info *p = pci_get_drvdata(dp); |
444 | 443 | ||
@@ -495,7 +494,7 @@ static struct pci_driver chipsfb_driver = { | |||
495 | .name = "chipsfb", | 494 | .name = "chipsfb", |
496 | .id_table = chipsfb_pci_tbl, | 495 | .id_table = chipsfb_pci_tbl, |
497 | .probe = chipsfb_pci_init, | 496 | .probe = chipsfb_pci_init, |
498 | .remove = __devexit_p(chipsfb_remove), | 497 | .remove = chipsfb_remove, |
499 | #ifdef CONFIG_PM | 498 | #ifdef CONFIG_PM |
500 | .suspend = chipsfb_pci_suspend, | 499 | .suspend = chipsfb_pci_suspend, |
501 | .resume = chipsfb_pci_resume, | 500 | .resume = chipsfb_pci_resume, |