Commit b567d1c7 authored by Timur Tabi's avatar Timur Tabi Committed by Kumar Gala
Browse files

powerpc/86xx: fsl_pcibios_fixup_bus requires CONFIG_PCI



Function fsl_pcibios_fixup_bus() is available only if PCI is enabled.  The
MPC8610 HPCD platform file was not protecting the assigned with an #ifdef,
which results in a link failure when PCI is disabled.  Every other platform
already has this #ifdef.

Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 9655aa6b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -353,5 +353,7 @@ define_machine(mpc86xx_hpcd) {
	.time_init		= mpc86xx_time_init,
	.calibrate_decr		= generic_calibrate_decr,
	.progress		= udbg_progress,
#ifdef CONFIG_PCI
	.pcibios_fixup_bus	= fsl_pcibios_fixup_bus,
#endif
};