diff options
Diffstat (limited to 'drivers/edac/sb_edac.c')
-rw-r--r-- | drivers/edac/sb_edac.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index 5715b7c2c517..da7e2986e3d5 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c | |||
@@ -1692,8 +1692,7 @@ fail0: | |||
1692 | * < 0 for error code | 1692 | * < 0 for error code |
1693 | */ | 1693 | */ |
1694 | 1694 | ||
1695 | static int __devinit sbridge_probe(struct pci_dev *pdev, | 1695 | static int sbridge_probe(struct pci_dev *pdev, const struct pci_device_id *id) |
1696 | const struct pci_device_id *id) | ||
1697 | { | 1696 | { |
1698 | int rc; | 1697 | int rc; |
1699 | u8 mc, num_mc = 0; | 1698 | u8 mc, num_mc = 0; |
@@ -1744,7 +1743,7 @@ fail0: | |||
1744 | * sbridge_remove destructor for one instance of device | 1743 | * sbridge_remove destructor for one instance of device |
1745 | * | 1744 | * |
1746 | */ | 1745 | */ |
1747 | static void __devexit sbridge_remove(struct pci_dev *pdev) | 1746 | static void sbridge_remove(struct pci_dev *pdev) |
1748 | { | 1747 | { |
1749 | struct sbridge_dev *sbridge_dev; | 1748 | struct sbridge_dev *sbridge_dev; |
1750 | 1749 | ||
@@ -1785,7 +1784,7 @@ MODULE_DEVICE_TABLE(pci, sbridge_pci_tbl); | |||
1785 | static struct pci_driver sbridge_driver = { | 1784 | static struct pci_driver sbridge_driver = { |
1786 | .name = "sbridge_edac", | 1785 | .name = "sbridge_edac", |
1787 | .probe = sbridge_probe, | 1786 | .probe = sbridge_probe, |
1788 | .remove = __devexit_p(sbridge_remove), | 1787 | .remove = sbridge_remove, |
1789 | .id_table = sbridge_pci_tbl, | 1788 | .id_table = sbridge_pci_tbl, |
1790 | }; | 1789 | }; |
1791 | 1790 | ||