mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-08-17 10:46:16 -04:00
arch/powerpc/cpu/mpc512x/pci.c: Fix GCC 4.6 warnings
Fix: pci.c: In function 'pci_init_board': pci.c:55:26: warning: variable 'pci_conf' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
parent
2595fddb26
commit
c33b92ebcc
@ -52,7 +52,6 @@ pci_init_board(void)
|
|||||||
volatile law512x_t *pci_law;
|
volatile law512x_t *pci_law;
|
||||||
volatile pot512x_t *pci_pot;
|
volatile pot512x_t *pci_pot;
|
||||||
volatile pcictrl512x_t *pci_ctrl;
|
volatile pcictrl512x_t *pci_ctrl;
|
||||||
volatile pciconf512x_t *pci_conf;
|
|
||||||
u16 reg16;
|
u16 reg16;
|
||||||
u32 reg32;
|
u32 reg32;
|
||||||
u32 dev;
|
u32 dev;
|
||||||
@ -73,7 +72,6 @@ pci_init_board(void)
|
|||||||
pci_law = im->sysconf.pcilaw;
|
pci_law = im->sysconf.pcilaw;
|
||||||
pci_pot = im->ios.pot;
|
pci_pot = im->ios.pot;
|
||||||
pci_ctrl = &im->pci_ctrl;
|
pci_ctrl = &im->pci_ctrl;
|
||||||
pci_conf = &im->pci_conf;
|
|
||||||
|
|
||||||
hose = &pci_hose;
|
hose = &pci_hose;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user