* [PATCH]Section mismatch: __devinit pci_root_bus_res() is calling __init update_res()
@ 2009-12-20 10:46 Marin Mitov
0 siblings, 0 replies; only message in thread
From: Marin Mitov @ 2009-12-20 10:46 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: Ingo Molnar, H. Peter Anvin, x86, linux-kernel
Hi all,
Section mismatch: __devinit pci_root_bus_res() is calling __init update_res().
grepping the tree one find pci_root_bus_res is used only as:
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x342e, pci_root_bus_res);
Mark it __init.
The patch is against 2.6.33-rc1.
Signed-off-by: Marin Mitov <mitov@issp.bas.bg>
==================================================================
--- a/arch/x86/pci/intel_bus.c 2009-12-20 11:50:44.000000000 +0200
+++ b/arch/x86/pci/intel_bus.c 2009-12-20 11:51:03.000000000 +0200
@@ -39,7 +39,7 @@
#define IOH_LMMIOH_LIMITU 0x118
#define IOH_LCFGBUS 0x11c
-static void __devinit pci_root_bus_res(struct pci_dev *dev)
+static void __init pci_root_bus_res(struct pci_dev *dev)
{
u16 word;
u32 dword;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-20 10:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-20 10:46 [PATCH]Section mismatch: __devinit pci_root_bus_res() is calling __init update_res() Marin Mitov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®