All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] pci_alloc_child_bus() mustn't be __devinit
@ 2008-01-30 20:02 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2008-01-30 20:02 UTC (permalink / raw)
  To: gregkh; +Cc: linux-pci, linux-kernel

This patch fixes the following section mismatch:

<--  snip  -->

...
WARNING: drivers/pci/built-in.o(.text+0xc4c): Section mismatch in reference from the function pci_add_new_bus() to the function .devinit.text:pci_alloc_child_bus()
...

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
0f6b627d31aca67630305b4f8079a6b627fc4ae3 
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 5fd5852..0ed050a 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -387,8 +387,8 @@ static struct pci_bus * pci_alloc_bus(void)
 	return b;
 }
 
-static struct pci_bus * __devinit
-pci_alloc_child_bus(struct pci_bus *parent, struct pci_dev *bridge, int busnr)
+static struct pci_bus *pci_alloc_child_bus(struct pci_bus *parent,
+					   struct pci_dev *bridge, int busnr)
 {
 	struct pci_bus *child;
 	int i;


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-30 20:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-30 20:02 [2.6 patch] pci_alloc_child_bus() mustn't be __devinit Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.