[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200912201246.37272.mitov@issp.bas.bg>
Date: Sun, 20 Dec 2009 12:46:36 +0200
From: Marin Mitov <mitov@...p.bas.bg>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...hat.com>, "H. Peter Anvin" <hpa@...or.com>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH]Section mismatch: __devinit pci_root_bus_res() is calling __init update_res()
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@...p.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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists