aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/sgiioc4.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/sgiioc4.c')
-rw-r--r--drivers/ide/pci/sgiioc4.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/ide/pci/sgiioc4.c b/drivers/ide/pci/sgiioc4.c
index b0bf01809279..81d44ed37f34 100644
--- a/drivers/ide/pci/sgiioc4.c
+++ b/drivers/ide/pci/sgiioc4.c
@@ -729,8 +729,7 @@ out:
729 return ret; 729 return ret;
730} 730}
731 731
732static ide_pci_device_t sgiioc4_chipsets[] __devinitdata = { 732static ide_pci_device_t sgiioc4_chipset __devinitdata = {
733 {
734 /* Channel 0 */ 733 /* Channel 0 */
735 .name = "SGIIOC4", 734 .name = "SGIIOC4",
736 .init_hwif = ide_init_sgiioc4, 735 .init_hwif = ide_init_sgiioc4,
@@ -739,7 +738,6 @@ static ide_pci_device_t sgiioc4_chipsets[] __devinitdata = {
739 .autodma = AUTODMA, 738 .autodma = AUTODMA,
740 /* SGI IOC4 doesn't have enablebits. */ 739 /* SGI IOC4 doesn't have enablebits. */
741 .bootable = ON_BOARD, 740 .bootable = ON_BOARD,
742 }
743}; 741};
744 742
745int 743int
@@ -751,8 +749,7 @@ ioc4_ide_attach_one(struct ioc4_driver_data *idd)
751 if (idd->idd_variant == IOC4_VARIANT_PCI_RT) 749 if (idd->idd_variant == IOC4_VARIANT_PCI_RT)
752 return 0; 750 return 0;
753 751
754 return pci_init_sgiioc4(idd->idd_pdev, 752 return pci_init_sgiioc4(idd->idd_pdev, &sgiioc4_chipset);
755 &sgiioc4_chipsets[idd->idd_pci_id->driver_data]);
756} 753}
757 754
758static struct ioc4_submodule ioc4_ide_submodule = { 755static struct ioc4_submodule ioc4_ide_submodule = {