diff options
Diffstat (limited to 'drivers/edac/i5400_edac.c')
-rw-r--r-- | drivers/edac/i5400_edac.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/edac/i5400_edac.c b/drivers/edac/i5400_edac.c index 277246998b80..0a05bbceb08f 100644 --- a/drivers/edac/i5400_edac.c +++ b/drivers/edac/i5400_edac.c | |||
@@ -1373,8 +1373,7 @@ fail0: | |||
1373 | * negative on error | 1373 | * negative on error |
1374 | * count (>= 0) | 1374 | * count (>= 0) |
1375 | */ | 1375 | */ |
1376 | static int __devinit i5400_init_one(struct pci_dev *pdev, | 1376 | static int i5400_init_one(struct pci_dev *pdev, const struct pci_device_id *id) |
1377 | const struct pci_device_id *id) | ||
1378 | { | 1377 | { |
1379 | int rc; | 1378 | int rc; |
1380 | 1379 | ||
@@ -1393,7 +1392,7 @@ static int __devinit i5400_init_one(struct pci_dev *pdev, | |||
1393 | * i5400_remove_one destructor for one instance of device | 1392 | * i5400_remove_one destructor for one instance of device |
1394 | * | 1393 | * |
1395 | */ | 1394 | */ |
1396 | static void __devexit i5400_remove_one(struct pci_dev *pdev) | 1395 | static void i5400_remove_one(struct pci_dev *pdev) |
1397 | { | 1396 | { |
1398 | struct mem_ctl_info *mci; | 1397 | struct mem_ctl_info *mci; |
1399 | 1398 | ||
@@ -1431,7 +1430,7 @@ MODULE_DEVICE_TABLE(pci, i5400_pci_tbl); | |||
1431 | static struct pci_driver i5400_driver = { | 1430 | static struct pci_driver i5400_driver = { |
1432 | .name = "i5400_edac", | 1431 | .name = "i5400_edac", |
1433 | .probe = i5400_init_one, | 1432 | .probe = i5400_init_one, |
1434 | .remove = __devexit_p(i5400_remove_one), | 1433 | .remove = i5400_remove_one, |
1435 | .id_table = i5400_pci_tbl, | 1434 | .id_table = i5400_pci_tbl, |
1436 | }; | 1435 | }; |
1437 | 1436 | ||