Skip to contentSkip to conversation

sn_pci_controller_fixup() should be __init

PATCH Applied Al Viro 1 participant 1 message Nov 22, 2008

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 31/32 sn_pci_controller_fixup() should be __init

called only from __init

---
 arch/ia64/sn/kernel/io_init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/ia64/sn/kernel/io_init.c +1 -1
@@ -292,7 +292,7 @@ EXPORT_SYMBOL(sn_io_slot_fixup);
  * sn_pci_controller_fixup() - This routine sets up a bus's resources
  *			       consistent with the Linux PCI abstraction layer.
  */
-static void
+static void __init
 sn_pci_controller_fixup(int segment, int busnum, struct pci_bus *bus)
 {
 	s64 status = 0;