aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/mb862xx/mb862xxfbdrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/mb862xx/mb862xxfbdrv.c')
-rw-r--r--drivers/video/mb862xx/mb862xxfbdrv.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/video/mb862xx/mb862xxfbdrv.c b/drivers/video/mb862xx/mb862xxfbdrv.c
index d68e332aa21..91c59c9fb08 100644
--- a/drivers/video/mb862xx/mb862xxfbdrv.c
+++ b/drivers/video/mb862xx/mb862xxfbdrv.c
@@ -668,7 +668,7 @@ static int mb862xx_gdc_init(struct mb862xxfb_par *par)
668 return 0; 668 return 0;
669} 669}
670 670
671static int __devinit of_platform_mb862xx_probe(struct platform_device *ofdev) 671static int of_platform_mb862xx_probe(struct platform_device *ofdev)
672{ 672{
673 struct device_node *np = ofdev->dev.of_node; 673 struct device_node *np = ofdev->dev.of_node;
674 struct device *dev = &ofdev->dev; 674 struct device *dev = &ofdev->dev;
@@ -786,7 +786,7 @@ fbrel:
786 return ret; 786 return ret;
787} 787}
788 788
789static int __devexit of_platform_mb862xx_remove(struct platform_device *ofdev) 789static int of_platform_mb862xx_remove(struct platform_device *ofdev)
790{ 790{
791 struct fb_info *fbi = dev_get_drvdata(&ofdev->dev); 791 struct fb_info *fbi = dev_get_drvdata(&ofdev->dev);
792 struct mb862xxfb_par *par = fbi->par; 792 struct mb862xxfb_par *par = fbi->par;
@@ -823,7 +823,7 @@ static int __devexit of_platform_mb862xx_remove(struct platform_device *ofdev)
823/* 823/*
824 * common types 824 * common types
825 */ 825 */
826static struct of_device_id __devinitdata of_platform_mb862xx_tbl[] = { 826static struct of_device_id of_platform_mb862xx_tbl[] = {
827 { .compatible = "fujitsu,MB86276", }, 827 { .compatible = "fujitsu,MB86276", },
828 { .compatible = "fujitsu,lime", }, 828 { .compatible = "fujitsu,lime", },
829 { .compatible = "fujitsu,MB86277", }, 829 { .compatible = "fujitsu,MB86277", },
@@ -841,7 +841,7 @@ static struct platform_driver of_platform_mb862xxfb_driver = {
841 .of_match_table = of_platform_mb862xx_tbl, 841 .of_match_table = of_platform_mb862xx_tbl,
842 }, 842 },
843 .probe = of_platform_mb862xx_probe, 843 .probe = of_platform_mb862xx_probe,
844 .remove = __devexit_p(of_platform_mb862xx_remove), 844 .remove = of_platform_mb862xx_remove,
845}; 845};
846#endif 846#endif
847 847
@@ -984,7 +984,7 @@ static inline int mb862xx_pci_gdc_init(struct mb862xxfb_par *par)
984#define CHIP_ID(id) \ 984#define CHIP_ID(id) \
985 { PCI_DEVICE(PCI_VENDOR_ID_FUJITSU_LIMITED, id) } 985 { PCI_DEVICE(PCI_VENDOR_ID_FUJITSU_LIMITED, id) }
986 986
987static struct pci_device_id mb862xx_pci_tbl[] __devinitdata = { 987static struct pci_device_id mb862xx_pci_tbl[] = {
988 /* MB86295/MB86296 */ 988 /* MB86295/MB86296 */
989 CHIP_ID(PCI_DEVICE_ID_FUJITSU_CORALP), 989 CHIP_ID(PCI_DEVICE_ID_FUJITSU_CORALP),
990 CHIP_ID(PCI_DEVICE_ID_FUJITSU_CORALPA), 990 CHIP_ID(PCI_DEVICE_ID_FUJITSU_CORALPA),
@@ -995,8 +995,8 @@ static struct pci_device_id mb862xx_pci_tbl[] __devinitdata = {
995 995
996MODULE_DEVICE_TABLE(pci, mb862xx_pci_tbl); 996MODULE_DEVICE_TABLE(pci, mb862xx_pci_tbl);
997 997
998static int __devinit mb862xx_pci_probe(struct pci_dev *pdev, 998static int mb862xx_pci_probe(struct pci_dev *pdev,
999 const struct pci_device_id *ent) 999 const struct pci_device_id *ent)
1000{ 1000{
1001 struct mb862xxfb_par *par; 1001 struct mb862xxfb_par *par;
1002 struct fb_info *info; 1002 struct fb_info *info;
@@ -1133,7 +1133,7 @@ out:
1133 return ret; 1133 return ret;
1134} 1134}
1135 1135
1136static void __devexit mb862xx_pci_remove(struct pci_dev *pdev) 1136static void mb862xx_pci_remove(struct pci_dev *pdev)
1137{ 1137{
1138 struct fb_info *fbi = pci_get_drvdata(pdev); 1138 struct fb_info *fbi = pci_get_drvdata(pdev);
1139 struct mb862xxfb_par *par = fbi->par; 1139 struct mb862xxfb_par *par = fbi->par;
@@ -1174,11 +1174,11 @@ static struct pci_driver mb862xxfb_pci_driver = {
1174 .name = DRV_NAME, 1174 .name = DRV_NAME,
1175 .id_table = mb862xx_pci_tbl, 1175 .id_table = mb862xx_pci_tbl,
1176 .probe = mb862xx_pci_probe, 1176 .probe = mb862xx_pci_probe,
1177 .remove = __devexit_p(mb862xx_pci_remove), 1177 .remove = mb862xx_pci_remove,
1178}; 1178};
1179#endif 1179#endif
1180 1180
1181static int __devinit mb862xxfb_init(void) 1181static int mb862xxfb_init(void)
1182{ 1182{
1183 int ret = -ENODEV; 1183 int ret = -ENODEV;
1184 1184