Commit 654d49b4 authored by Kim Phillips's avatar Kim Phillips Committed by Wolfgang Denk

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: 's avatarKim Phillips <>
parent bc8f8c26
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment