Skip to contentSkip to conversation

EDAC: add __init to i7core_xeon_pci_fixup

PATCH New Jiri Slaby 1 participant 1 message Dec 9, 2009

Subsystems (2)
lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

PATCH 1/1 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.

Cc Mauro Carvalho Chehab <[email protected]>
---
 drivers/edac/i7core_edac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/edac/i7core_edac.c +1 -1
index 4de5a18..c7fc0d5 100644
@@ -1141,7 +1141,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;
Signature · 1 line
1.6.5.3