[PATCH] powerpc: Fix compile problem in pci.c for ppc32

Kumar Gala galak at gate.crashing.org
Tue Dec 20 08:49:07 EST 2005


pci_address_to_pio is missing a closing curly brace

Signed-off-by: Kumar Gala <galak at kernel.crashing.org>

---
commit a86f866f7b31e01c729ee7498228c547a51d8514
tree 7cc7df7f28735a34618d450cc46bfd3c86d8725b
parent c211d7347a735eb5d5996433f3eef7159c3fe41a
author Kumar Gala <galak at kernel.crashing.org> Mon, 19 Dec 2005 15:52:42 -0600
committer Kumar Gala <galak at kernel.crashing.org> Mon, 19 Dec 2005 15:52:42 -0600

 arch/ppc/kernel/pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/ppc/kernel/pci.c b/arch/ppc/kernel/pci.c
index 664af8b..7d4c0e3 100644
--- a/arch/ppc/kernel/pci.c
+++ b/arch/ppc/kernel/pci.c
@@ -1823,7 +1823,7 @@ unsigned long pci_address_to_pio(phys_ad
 			unsigned long base =
 				(unsigned long)hose->io_base_virt - _IO_BASE;
 			return base + (address - hose->io_base_phys);
-
+		}
 	}
 	return (unsigned int)-1;
 }




More information about the Linuxppc-dev mailing list