[PATCH 1/1] Remove __devinit annotation from pcibios_claim_one_bus()

Tony Breeds tony at bakeyournoodle.com
Fri May 22 13:32:45 EST 2009


pcibios_finish_adding_to_bus() is NOT annotated __devinit but it calls
pcibios_claim_one_bus().  pcibios_finish_adding_to_bus() is called from
at least the rpadlpar code which also is NOT annotated __devinit.

The annotation seems bogus so remove it.

Found by Jeremy Huddleston a reported at:
	http://bugzilla.kernel.org/show_bug.cgi?id=13228

Signed-off-by: Tony Breeds <tony at bakeyournoodle.com>
---
 arch/powerpc/kernel/pci-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
index 0f41812..a9f988f 100644
--- a/arch/powerpc/kernel/pci-common.c
+++ b/arch/powerpc/kernel/pci-common.c
@@ -1469,7 +1469,7 @@ void __init pcibios_resource_survey(void)
  * rest of the code later, for now, keep it as-is as our main
  * resource allocation function doesn't deal with sub-trees yet.
  */
-void __devinit pcibios_claim_one_bus(struct pci_bus *bus)
+void pcibios_claim_one_bus(struct pci_bus *bus)
 {
 	struct pci_dev *dev;
 	struct pci_bus *child_bus;
-- 
1.6.0.6




More information about the Linuxppc-dev mailing list