Jelajahi Sumber

powerpc/85xx: Fix compilation of mpc85xx_mds.c

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>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Alexander Graf 15 tahun lalu
induk
melakukan
6d4f2fb086
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      arch/powerpc/platforms/85xx/mpc85xx_mds.c

+ 1 - 0
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;