[PATCH]Section mismatch: __devinit pci_root_bus_res() is calling __init update_res()

From: Marin Mitov
Date: Sun Dec 20 2009 - 05:48:43 EST

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:
Mark it __init.

The patch is against 2.6.33-rc1.

Signed-off-by: Marin Mitov <mitov@xxxxxxxxxxx>

--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/