diff options
Diffstat (limited to 'drivers/edac/i7300_edac.c')
-rw-r--r-- | drivers/edac/i7300_edac.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/edac/i7300_edac.c b/drivers/edac/i7300_edac.c index 9d669cd43618..087c27bc5d42 100644 --- a/drivers/edac/i7300_edac.c +++ b/drivers/edac/i7300_edac.c | |||
@@ -923,7 +923,7 @@ static void i7300_put_devices(struct mem_ctl_info *mci) | |||
923 | * Device 21 function 0: PCI_DEVICE_ID_INTEL_I7300_MCH_FB0 | 923 | * Device 21 function 0: PCI_DEVICE_ID_INTEL_I7300_MCH_FB0 |
924 | * Device 22 function 0: PCI_DEVICE_ID_INTEL_I7300_MCH_FB1 | 924 | * Device 22 function 0: PCI_DEVICE_ID_INTEL_I7300_MCH_FB1 |
925 | */ | 925 | */ |
926 | static int __devinit i7300_get_devices(struct mem_ctl_info *mci) | 926 | static int i7300_get_devices(struct mem_ctl_info *mci) |
927 | { | 927 | { |
928 | struct i7300_pvt *pvt; | 928 | struct i7300_pvt *pvt; |
929 | struct pci_dev *pdev; | 929 | struct pci_dev *pdev; |
@@ -1008,8 +1008,7 @@ error: | |||
1008 | * @pdev: struct pci_dev pointer | 1008 | * @pdev: struct pci_dev pointer |
1009 | * @id: struct pci_device_id pointer - currently unused | 1009 | * @id: struct pci_device_id pointer - currently unused |
1010 | */ | 1010 | */ |
1011 | static int __devinit i7300_init_one(struct pci_dev *pdev, | 1011 | static int i7300_init_one(struct pci_dev *pdev, const struct pci_device_id *id) |
1012 | const struct pci_device_id *id) | ||
1013 | { | 1012 | { |
1014 | struct mem_ctl_info *mci; | 1013 | struct mem_ctl_info *mci; |
1015 | struct edac_mc_layer layers[3]; | 1014 | struct edac_mc_layer layers[3]; |
@@ -1122,7 +1121,7 @@ fail0: | |||
1122 | * i7300_remove_one() - Remove the driver | 1121 | * i7300_remove_one() - Remove the driver |
1123 | * @pdev: struct pci_dev pointer | 1122 | * @pdev: struct pci_dev pointer |
1124 | */ | 1123 | */ |
1125 | static void __devexit i7300_remove_one(struct pci_dev *pdev) | 1124 | static void i7300_remove_one(struct pci_dev *pdev) |
1126 | { | 1125 | { |
1127 | struct mem_ctl_info *mci; | 1126 | struct mem_ctl_info *mci; |
1128 | char *tmp; | 1127 | char *tmp; |
@@ -1163,7 +1162,7 @@ MODULE_DEVICE_TABLE(pci, i7300_pci_tbl); | |||
1163 | static struct pci_driver i7300_driver = { | 1162 | static struct pci_driver i7300_driver = { |
1164 | .name = "i7300_edac", | 1163 | .name = "i7300_edac", |
1165 | .probe = i7300_init_one, | 1164 | .probe = i7300_init_one, |
1166 | .remove = __devexit_p(i7300_remove_one), | 1165 | .remove = i7300_remove_one, |
1167 | .id_table = i7300_pci_tbl, | 1166 | .id_table = i7300_pci_tbl, |
1168 | }; | 1167 | }; |
1169 | 1168 | ||