aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_driver.c')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_driver.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_driver.c b/drivers/infiniband/hw/ipath/ipath_driver.c
index bfca37b2432f..7b371f545ece 100644
--- a/drivers/infiniband/hw/ipath/ipath_driver.c
+++ b/drivers/infiniband/hw/ipath/ipath_driver.c
@@ -127,9 +127,8 @@ const char *ipath_ibcstatus_str[] = {
127 "LTState1C", "LTState1D", "LTState1E", "LTState1F" 127 "LTState1C", "LTState1D", "LTState1E", "LTState1F"
128}; 128};
129 129
130static void __devexit ipath_remove_one(struct pci_dev *); 130static void ipath_remove_one(struct pci_dev *);
131static int __devinit ipath_init_one(struct pci_dev *, 131static int ipath_init_one(struct pci_dev *, const struct pci_device_id *);
132 const struct pci_device_id *);
133 132
134/* Only needed for registration, nothing else needs this info */ 133/* Only needed for registration, nothing else needs this info */
135#define PCI_VENDOR_ID_PATHSCALE 0x1fc1 134#define PCI_VENDOR_ID_PATHSCALE 0x1fc1
@@ -148,7 +147,7 @@ MODULE_DEVICE_TABLE(pci, ipath_pci_tbl);
148static struct pci_driver ipath_driver = { 147static struct pci_driver ipath_driver = {
149 .name = IPATH_DRV_NAME, 148 .name = IPATH_DRV_NAME,
150 .probe = ipath_init_one, 149 .probe = ipath_init_one,
151 .remove = __devexit_p(ipath_remove_one), 150 .remove = ipath_remove_one,
152 .id_table = ipath_pci_tbl, 151 .id_table = ipath_pci_tbl,
153 .driver = { 152 .driver = {
154 .groups = ipath_driver_attr_groups, 153 .groups = ipath_driver_attr_groups,
@@ -392,8 +391,7 @@ done:
392 391
393static void cleanup_device(struct ipath_devdata *dd); 392static void cleanup_device(struct ipath_devdata *dd);
394 393
395static int __devinit ipath_init_one(struct pci_dev *pdev, 394static int ipath_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
396 const struct pci_device_id *ent)
397{ 395{
398 int ret, len, j; 396 int ret, len, j;
399 struct ipath_devdata *dd; 397 struct ipath_devdata *dd;
@@ -737,7 +735,7 @@ static void cleanup_device(struct ipath_devdata *dd)
737 kfree(tmp); 735 kfree(tmp);
738} 736}
739 737
740static void __devexit ipath_remove_one(struct pci_dev *pdev) 738static void ipath_remove_one(struct pci_dev *pdev)
741{ 739{
742 struct ipath_devdata *dd = pci_get_drvdata(pdev); 740 struct ipath_devdata *dd = pci_get_drvdata(pdev);
743 741