aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2009-12-09 14:55:15 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 10:45:19 -0400
commit71753e0141a220ecbf9c71a66e0a8acce9705fb5 (patch)
tree4f87b5cfc3c165a1d8316950ed6cbea8bfaebadd /drivers/edac
parent508fa179f8e0da5d7241e12ad1562b96f291e800 (diff)
EDAC: add __init to i7core_xeon_pci_fixup
It's called only from an __init function and is the only user of pcibios_scan_specific_bus which will be marked as __devinit in the next patch. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/i7core_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index 4d6ecf1291b8..37ade251e9e2 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -1170,7 +1170,7 @@ static void i7core_put_all_devices(void)
1170 i7core_put_devices(i7core_dev); 1170 i7core_put_devices(i7core_dev);
1171} 1171}
1172 1172
1173static void i7core_xeon_pci_fixup(int dev_id) 1173static void __init i7core_xeon_pci_fixup(int dev_id)
1174{ 1174{
1175 struct pci_dev *pdev = NULL; 1175 struct pci_dev *pdev = NULL;
1176 int i; 1176 int i;