提交 91f9855a 编写于 作者: K Kumar Gala 提交者: Linus Torvalds

[PATCH] ppc32: Fix building MPC8555 CDS when CONFIG_PCI is disabled

The patch that introduced support for the VIA chipset broke building if
CONFIG_PCI is disabled.
Signed-off-by: NKumar Gala <kumar.gala@freescale.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 a6dbba77
......@@ -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
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册