Skip to content
Snippets Groups Projects
Commit 654d49b4 authored by Kim Phillips's avatar Kim Phillips Committed by Wolfgang Denk
Browse files

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: default avatarKim Phillips <kim.phillips@freescale.com>
parent bc8f8c26
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment