summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-08-12 12:10:11 +0200
committerWolfgang Denk <wd@denx.de>2008-08-12 12:10:11 +0200
commit52b047ae48219b59bebe37ba743ab103fd4f8316 (patch)
treeff856d0fc19f000df717019598d24c93e3ea205b
parent224f7a56796868f544664a48b51c2450850e1b9c (diff)
MPC8272ADS: fix build error: 'bd_t' has no member named 'pci_clk'
Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--cpu/mpc8260/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc8260/pci.c b/cpu/mpc8260/pci.c
index 940f5c0a1..82303644b 100644
--- a/cpu/mpc8260/pci.c
+++ b/cpu/mpc8260/pci.c
@@ -457,7 +457,7 @@ void pci_mpc8250_init (struct pci_controller *hose)
void ft_pci_setup(void *blob, bd_t *bd)
{
do_fixup_by_prop_u32(blob, "device_type", "pci", 4,
- "clock-frequency", bd->pci_clk, 1);
+ "clock-frequency", gd->pci_clk, 1);
}
#endif