diff mbox

[3/3] PPC: Fix compilation of mpc85xx_mds.c

Message ID 1283220922-20369-4-git-send-email-agraf@suse.de (mailing list archive)
State Accepted, archived
Commit 6d4f2fb0860c36e7ef16cc41126242a8b6542771
Delegated to: Kumar Gala
Headers show

Commit Message

Alexander Graf Aug. 31, 2010, 2:15 a.m. UTC
Commit 99d8238f berobbed the for_each loop of its iterator! Let's be
nice and give it back, so it compiles for us.

CC: Anton Vorontsov <avorontsov@mvista.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 arch/powerpc/platforms/85xx/mpc85xx_mds.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Kumar Gala Aug. 31, 2010, 9:24 p.m. UTC | #1
On Aug 30, 2010, at 9:15 PM, Alexander Graf wrote:

> Commit 99d8238f berobbed the for_each loop of its iterator! Let's be
> nice and give it back, so it compiles for us.
> 
> CC: Anton Vorontsov <avorontsov@mvista.com>
> Signed-off-by: Alexander Graf <agraf@suse.de>
> ---
> arch/powerpc/platforms/85xx/mpc85xx_mds.c |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)

applied to merge

- k
diff mbox

Patch

diff --git a/arch/powerpc/platforms/85xx/mpc85xx_mds.c b/arch/powerpc/platforms/85xx/mpc85xx_mds.c
index da64be1..aa34cac 100644
--- a/arch/powerpc/platforms/85xx/mpc85xx_mds.c
+++ b/arch/powerpc/platforms/85xx/mpc85xx_mds.c
@@ -357,6 +357,7 @@  static void __init mpc85xx_mds_setup_arch(void)
 {
 #ifdef CONFIG_PCI
 	struct pci_controller *hose;
+	struct device_node *np;
 #endif
 	dma_addr_t max = 0xffffffff;