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

Adam J. Richter (adam@yggdrasil.com)
Tue, 10 Sep 2002 05:45:20 -0700


--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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?

-- 
Adam J. Richter     __     ______________   575 Oroville Road
adam@yggdrasil.com     \ /                  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."

--k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="irq.static"

--- linux-2.5.33/arch/i386/pci/irq.c 2002-08-31 15:05:37.000000000 -0700 +++ linux/arch/i386/pci/irq.c 2002-09-10 05:29:09.000000000 -0700 @@ -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;

--k+w/mQv8wyuph6w0-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/