MPC8272ADS: fix build error: 'bd_t' has no member named 'pci_clk'
authorWolfgang Denk <wd@denx.de>
Tue, 12 Aug 2008 10:10:11 +0000 (12:10 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 12 Aug 2008 10:10:11 +0000 (12:10 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
cpu/mpc8260/pci.c

index 940f5c0a100f19ca12a2d7b22a72986ba7542046..82303644b2be6df407b296992f3c251f90e839eb 100644 (file)
@@ -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