summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2010-09-22 15:31:01 -0500
committerWolfgang Denk <wd@denx.de>2010-09-23 21:14:25 +0200
commit654d49b401603fcd036f3e9fa38c4f9461569ea7 (patch)
tree7cf74da4bf0a8e74b24fab5e0f23b2d72ae71528 /arch/powerpc/cpu
parentbc8f8c2614c8e104a66198633d8d765b720ed907 (diff)
downloadu-boot-imx-654d49b401603fcd036f3e9fa38c4f9461569ea7.zip
u-boot-imx-654d49b401603fcd036f3e9fa38c4f9461569ea7.tar.gz
u-boot-imx-654d49b401603fcd036f3e9fa38c4f9461569ea7.tar.bz2
mpc83xx: fix pcie build warning
Configuring for MPC8308RDB board... pcie.c: In function 'mpc83xx_pcie_register_hose': pcie.c:143: warning: assignment makes pointer from integer without a cast Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r--arch/powerpc/cpu/mpc83xx/pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/pcie.c b/arch/powerpc/cpu/mpc83xx/pcie.c
index e70d19e..09912be 100644
--- a/arch/powerpc/cpu/mpc83xx/pcie.c
+++ b/arch/powerpc/cpu/mpc83xx/pcie.c
@@ -140,7 +140,7 @@ static void mpc83xx_pcie_register_hose(int bus, struct pci_region *reg,
hose->first_busno = pci_last_busno() + 1;
hose->last_busno = 0xff;
- hose->cfg_addr = mpc83xx_pcie_cfg_space[bus].base;
+ hose->cfg_addr = (unsigned int *)mpc83xx_pcie_cfg_space[bus].base;
pci_set_ops(hose,
pcie_read_config_byte,