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>
This commit is contained in:
Родитель
508fa179f8
Коммит
71753e0141
|
@ -1170,7 +1170,7 @@ static void i7core_put_all_devices(void)
|
||||||
i7core_put_devices(i7core_dev);
|
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;
|
struct pci_dev *pdev = NULL;
|
||||||
int i;
|
int i;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче