Jelajahi Sumber

[PATCH] ppc32: Fix building MPC8555 CDS

Adding support for MPC8548 w/o PCI support, broke building MPC8555 CDS
by trying to remove a loop variable that was used when PCI is enabled.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org)
Kumar Gala 20 tahun lalu
induk
melakukan
f1b04770b0
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      arch/ppc/platforms/85xx/mpc85xx_cds_common.c

+ 1 - 0
arch/ppc/platforms/85xx/mpc85xx_cds_common.c

@@ -149,6 +149,7 @@ void __init
 mpc85xx_cds_init_IRQ(void)
 {
 	bd_t *binfo = (bd_t *) __res;
+	int i;
 
 	/* Determine the Physical Address of the OpenPIC regs */
 	phys_addr_t OpenPIC_PAddr = binfo->bi_immr_base + MPC85xx_OPENPIC_OFFSET;