aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/asiliantfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/asiliantfb.c')
-rw-r--r--drivers/video/asiliantfb.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/video/asiliantfb.c b/drivers/video/asiliantfb.c
index 8cdf88e20b4b..d5a37d62847b 100644
--- a/drivers/video/asiliantfb.c
+++ b/drivers/video/asiliantfb.c
@@ -451,7 +451,7 @@ static struct chips_init_reg chips_init_xr[] =
451 {0xd1, 0x01}, 451 {0xd1, 0x01},
452}; 452};
453 453
454static void __devinit chips_hw_init(struct fb_info *p) 454static void chips_hw_init(struct fb_info *p)
455{ 455{
456 int i; 456 int i;
457 457
@@ -474,7 +474,7 @@ static void __devinit chips_hw_init(struct fb_info *p)
474 write_fr(chips_init_fr[i].addr, chips_init_fr[i].data); 474 write_fr(chips_init_fr[i].addr, chips_init_fr[i].data);
475} 475}
476 476
477static struct fb_fix_screeninfo asiliantfb_fix __devinitdata = { 477static struct fb_fix_screeninfo asiliantfb_fix = {
478 .id = "Asiliant 69000", 478 .id = "Asiliant 69000",
479 .type = FB_TYPE_PACKED_PIXELS, 479 .type = FB_TYPE_PACKED_PIXELS,
480 .visual = FB_VISUAL_PSEUDOCOLOR, 480 .visual = FB_VISUAL_PSEUDOCOLOR,
@@ -483,7 +483,7 @@ static struct fb_fix_screeninfo asiliantfb_fix __devinitdata = {
483 .smem_len = 0x200000, /* 2MB */ 483 .smem_len = 0x200000, /* 2MB */
484}; 484};
485 485
486static struct fb_var_screeninfo asiliantfb_var __devinitdata = { 486static struct fb_var_screeninfo asiliantfb_var = {
487 .xres = 640, 487 .xres = 640,
488 .yres = 480, 488 .yres = 480,
489 .xres_virtual = 640, 489 .xres_virtual = 640,
@@ -504,7 +504,7 @@ static struct fb_var_screeninfo asiliantfb_var __devinitdata = {
504 .vsync_len = 2, 504 .vsync_len = 2,
505}; 505};
506 506
507static int __devinit init_asiliant(struct fb_info *p, unsigned long addr) 507static int init_asiliant(struct fb_info *p, unsigned long addr)
508{ 508{
509 int err; 509 int err;
510 510
@@ -535,8 +535,8 @@ static int __devinit init_asiliant(struct fb_info *p, unsigned long addr)
535 return 0; 535 return 0;
536} 536}
537 537
538static int __devinit 538static int asiliantfb_pci_init(struct pci_dev *dp,
539asiliantfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent) 539 const struct pci_device_id *ent)
540{ 540{
541 unsigned long addr, size; 541 unsigned long addr, size;
542 struct fb_info *p; 542 struct fb_info *p;
@@ -581,7 +581,7 @@ asiliantfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent)
581 return 0; 581 return 0;
582} 582}
583 583
584static void __devexit asiliantfb_remove(struct pci_dev *dp) 584static void asiliantfb_remove(struct pci_dev *dp)
585{ 585{
586 struct fb_info *p = pci_get_drvdata(dp); 586 struct fb_info *p = pci_get_drvdata(dp);
587 587
@@ -593,7 +593,7 @@ static void __devexit asiliantfb_remove(struct pci_dev *dp)
593 framebuffer_release(p); 593 framebuffer_release(p);
594} 594}
595 595
596static struct pci_device_id asiliantfb_pci_tbl[] __devinitdata = { 596static struct pci_device_id asiliantfb_pci_tbl[] = {
597 { PCI_VENDOR_ID_CT, PCI_DEVICE_ID_CT_69000, PCI_ANY_ID, PCI_ANY_ID }, 597 { PCI_VENDOR_ID_CT, PCI_DEVICE_ID_CT_69000, PCI_ANY_ID, PCI_ANY_ID },
598 { 0 } 598 { 0 }
599}; 599};
@@ -604,7 +604,7 @@ static struct pci_driver asiliantfb_driver = {
604 .name = "asiliantfb", 604 .name = "asiliantfb",
605 .id_table = asiliantfb_pci_tbl, 605 .id_table = asiliantfb_pci_tbl,
606 .probe = asiliantfb_pci_init, 606 .probe = asiliantfb_pci_init,
607 .remove = __devexit_p(asiliantfb_remove), 607 .remove = asiliantfb_remove,
608}; 608};
609 609
610static int __init asiliantfb_init(void) 610static int __init asiliantfb_init(void)