summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2011-11-10 12:21:43 +0000
committerWolfgang Denk <wd@denx.de>2011-11-16 21:12:29 +0100
commitc33b92ebcc09de7eed10237abd5b330cd5c58c33 (patch)
treeba04d6cdd5f862d7d0c5b308ca1c7e81abed9b01 /arch/powerpc/cpu
parent2595fddb264ccba5936f94fea54def8fbb259800 (diff)
downloadtalos-obmc-uboot-c33b92ebcc09de7eed10237abd5b330cd5c58c33.tar.gz
talos-obmc-uboot-c33b92ebcc09de7eed10237abd5b330cd5c58c33.zip
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>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r--arch/powerpc/cpu/mpc512x/pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc512x/pci.c b/arch/powerpc/cpu/mpc512x/pci.c
index 141db8b865..16f034d58f 100644
--- a/arch/powerpc/cpu/mpc512x/pci.c
+++ b/arch/powerpc/cpu/mpc512x/pci.c
@@ -52,7 +52,6 @@ pci_init_board(void)
volatile law512x_t *pci_law;
volatile pot512x_t *pci_pot;
volatile pcictrl512x_t *pci_ctrl;
- volatile pciconf512x_t *pci_conf;
u16 reg16;
u32 reg32;
u32 dev;
@@ -73,7 +72,6 @@ pci_init_board(void)
pci_law = im->sysconf.pcilaw;
pci_pot = im->ios.pot;
pci_ctrl = &im->pci_ctrl;
- pci_conf = &im->pci_conf;
hose = &pci_hose;
OpenPOWER on IntegriCloud