summaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2009-12-09 16:55:15 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 11:45:19 -0300
commit71753e0141a220ecbf9c71a66e0a8acce9705fb5 (patch)
tree4f87b5cfc3c165a1d8316950ed6cbea8bfaebadd /drivers/edac
parent508fa179f8e0da5d7241e12ad1562b96f291e800 (diff)
downloadblackbird-op-linux-71753e0141a220ecbf9c71a66e0a8acce9705fb5.tar.gz
blackbird-op-linux-71753e0141a220ecbf9c71a66e0a8acce9705fb5.zip
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)
i7core_put_devices(i7core_dev);
}
-static void i7core_xeon_pci_fixup(int dev_id)
+static void __init i7core_xeon_pci_fixup(int dev_id)
{
struct pci_dev *pdev = NULL;
int i;
OpenPOWER on IntegriCloud