Skip to contentSkip to conversation

Trivial patch: linux-2.5.33/arch/i386/pci/irq.c - pcibios_fixup_irqs should be static

PATCH Adam J. Richter 1 participant 1 message Sep 10, 2002

lore
Share & tools
lore
#0 lore raw
	pcibios_fixup_irqs declared in linux-2.5.33/arch/i386/pci/irq.c

is only called from within that file. So, it should be declared static (as it already is in the linux-2.5.33/arch/i386/pci/visws.c version). The following patch makes that change. Do you want to integrate this and forward it to Linus the next time you submit some changes, or is there some other course of action that you'd prefer?

Signature · 4 lines
Adam J. Richter     __     ______________   575 Oroville Road
[email protected]     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America
                         "Free Software For The Rest Of Us."
arch/i386/pci/irq.c +1 -1
@@ -719,7 +724,7 @@
 
 subsys_initcall(pcibios_irq_init);
 
-void __init pcibios_fixup_irqs(void)
+static void __init pcibios_fixup_irqs(void)
 {
 	struct pci_dev *dev;
 	u8 pin;