diff options
Diffstat (limited to 'drivers/scsi/gdth.c')
-rw-r--r-- | drivers/scsi/gdth.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index 5d72274c507f..599790e41a98 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -590,7 +590,7 @@ static struct pci_driver gdth_pci_driver = { | |||
590 | .remove = gdth_pci_remove_one, | 590 | .remove = gdth_pci_remove_one, |
591 | }; | 591 | }; |
592 | 592 | ||
593 | static void __devexit gdth_pci_remove_one(struct pci_dev *pdev) | 593 | static void gdth_pci_remove_one(struct pci_dev *pdev) |
594 | { | 594 | { |
595 | gdth_ha_str *ha = pci_get_drvdata(pdev); | 595 | gdth_ha_str *ha = pci_get_drvdata(pdev); |
596 | 596 | ||
@@ -602,8 +602,8 @@ static void __devexit gdth_pci_remove_one(struct pci_dev *pdev) | |||
602 | pci_disable_device(pdev); | 602 | pci_disable_device(pdev); |
603 | } | 603 | } |
604 | 604 | ||
605 | static int __devinit gdth_pci_init_one(struct pci_dev *pdev, | 605 | static int gdth_pci_init_one(struct pci_dev *pdev, |
606 | const struct pci_device_id *ent) | 606 | const struct pci_device_id *ent) |
607 | { | 607 | { |
608 | u16 vendor = pdev->vendor; | 608 | u16 vendor = pdev->vendor; |
609 | u16 device = pdev->device; | 609 | u16 device = pdev->device; |
@@ -855,8 +855,8 @@ static int __init gdth_init_isa(u32 bios_adr,gdth_ha_str *ha) | |||
855 | #endif /* CONFIG_ISA */ | 855 | #endif /* CONFIG_ISA */ |
856 | 856 | ||
857 | #ifdef CONFIG_PCI | 857 | #ifdef CONFIG_PCI |
858 | static int __devinit gdth_init_pci(struct pci_dev *pdev, gdth_pci_str *pcistr, | 858 | static int gdth_init_pci(struct pci_dev *pdev, gdth_pci_str *pcistr, |
859 | gdth_ha_str *ha) | 859 | gdth_ha_str *ha) |
860 | { | 860 | { |
861 | register gdt6_dpram_str __iomem *dp6_ptr; | 861 | register gdt6_dpram_str __iomem *dp6_ptr; |
862 | register gdt6c_dpram_str __iomem *dp6c_ptr; | 862 | register gdt6c_dpram_str __iomem *dp6c_ptr; |
@@ -1239,7 +1239,7 @@ static int __devinit gdth_init_pci(struct pci_dev *pdev, gdth_pci_str *pcistr, | |||
1239 | 1239 | ||
1240 | /* controller protocol functions */ | 1240 | /* controller protocol functions */ |
1241 | 1241 | ||
1242 | static void __devinit gdth_enable_int(gdth_ha_str *ha) | 1242 | static void gdth_enable_int(gdth_ha_str *ha) |
1243 | { | 1243 | { |
1244 | unsigned long flags; | 1244 | unsigned long flags; |
1245 | gdt2_dpram_str __iomem *dp2_ptr; | 1245 | gdt2_dpram_str __iomem *dp2_ptr; |
@@ -1555,7 +1555,7 @@ static int gdth_internal_cmd(gdth_ha_str *ha, u8 service, u16 opcode, | |||
1555 | 1555 | ||
1556 | /* search for devices */ | 1556 | /* search for devices */ |
1557 | 1557 | ||
1558 | static int __devinit gdth_search_drives(gdth_ha_str *ha) | 1558 | static int gdth_search_drives(gdth_ha_str *ha) |
1559 | { | 1559 | { |
1560 | u16 cdev_cnt, i; | 1560 | u16 cdev_cnt, i; |
1561 | int ok; | 1561 | int ok; |
@@ -4959,8 +4959,7 @@ static int __init gdth_eisa_probe_one(u16 eisa_slot) | |||
4959 | #endif /* CONFIG_EISA */ | 4959 | #endif /* CONFIG_EISA */ |
4960 | 4960 | ||
4961 | #ifdef CONFIG_PCI | 4961 | #ifdef CONFIG_PCI |
4962 | static int __devinit gdth_pci_probe_one(gdth_pci_str *pcistr, | 4962 | static int gdth_pci_probe_one(gdth_pci_str *pcistr, gdth_ha_str **ha_out) |
4963 | gdth_ha_str **ha_out) | ||
4964 | { | 4963 | { |
4965 | struct Scsi_Host *shp; | 4964 | struct Scsi_Host *shp; |
4966 | gdth_ha_str *ha; | 4965 | gdth_ha_str *ha; |