Skip to content

Commit

Permalink
[PATCH] ppc32: Fix building MPC8555 CDS when CONFIG_PCI is disabled
Browse files Browse the repository at this point in the history
The patch that introduced support for the VIA chipset broke building if
CONFIG_PCI is disabled.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Kumar Gala authored and Linus Torvalds committed May 28, 2005
1 parent a6dbba7 commit 91f9855
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/ppc/platforms/85xx/mpc85xx_cds_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,6 @@ mpc85xx_cds_setup_arch(void)

printk("mpc85xx_cds_setup_arch\n");

/* VIA IDE configuration */
ppc_md.pcibios_fixup = mpc85xx_cds_pcibios_fixup;

#ifdef CONFIG_CPM2
cpm2_reset();
#endif
Expand All @@ -462,6 +459,9 @@ mpc85xx_cds_setup_arch(void)
loops_per_jiffy = freq / HZ;

#ifdef CONFIG_PCI
/* VIA IDE configuration */
ppc_md.pcibios_fixup = mpc85xx_cds_pcibios_fixup;

/* setup PCI host bridges */
mpc85xx_setup_hose();
#endif
Expand Down

0 comments on commit 91f9855

Please sign in to comment.