diff options
Diffstat (limited to 'drivers/edac/e752x_edac.c')
-rw-r--r-- | drivers/edac/e752x_edac.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/edac/e752x_edac.c b/drivers/edac/e752x_edac.c index a5ed6b795fd4..644fec54681f 100644 --- a/drivers/edac/e752x_edac.c +++ b/drivers/edac/e752x_edac.c | |||
@@ -1390,8 +1390,7 @@ fail: | |||
1390 | } | 1390 | } |
1391 | 1391 | ||
1392 | /* returns count (>= 0), or negative on error */ | 1392 | /* returns count (>= 0), or negative on error */ |
1393 | static int __devinit e752x_init_one(struct pci_dev *pdev, | 1393 | static int e752x_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) |
1394 | const struct pci_device_id *ent) | ||
1395 | { | 1394 | { |
1396 | edac_dbg(0, "\n"); | 1395 | edac_dbg(0, "\n"); |
1397 | 1396 | ||
@@ -1402,7 +1401,7 @@ static int __devinit e752x_init_one(struct pci_dev *pdev, | |||
1402 | return e752x_probe1(pdev, ent->driver_data); | 1401 | return e752x_probe1(pdev, ent->driver_data); |
1403 | } | 1402 | } |
1404 | 1403 | ||
1405 | static void __devexit e752x_remove_one(struct pci_dev *pdev) | 1404 | static void e752x_remove_one(struct pci_dev *pdev) |
1406 | { | 1405 | { |
1407 | struct mem_ctl_info *mci; | 1406 | struct mem_ctl_info *mci; |
1408 | struct e752x_pvt *pvt; | 1407 | struct e752x_pvt *pvt; |
@@ -1445,7 +1444,7 @@ MODULE_DEVICE_TABLE(pci, e752x_pci_tbl); | |||
1445 | static struct pci_driver e752x_driver = { | 1444 | static struct pci_driver e752x_driver = { |
1446 | .name = EDAC_MOD_STR, | 1445 | .name = EDAC_MOD_STR, |
1447 | .probe = e752x_init_one, | 1446 | .probe = e752x_init_one, |
1448 | .remove = __devexit_p(e752x_remove_one), | 1447 | .remove = e752x_remove_one, |
1449 | .id_table = e752x_pci_tbl, | 1448 | .id_table = e752x_pci_tbl, |
1450 | }; | 1449 | }; |
1451 | 1450 | ||