mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
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>
This commit is contained in:
parent
bc8f8c2614
commit
654d49b401
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue