]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
EDAC: add __init to i7core_xeon_pci_fixup
authorJiri Slaby <jslaby@suse.cz>
Wed, 9 Dec 2009 19:55:15 +0000 (16:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 14:45:19 +0000 (11:45 -0300)
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>
drivers/edac/i7core_edac.c

index 4d6ecf1291b80f27e32ecb210d97bdb0ae7d8c5a..37ade251e9e24dcb797282cd3a16faba43f9647f 100644 (file)
@@ -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;