]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arch/powerpc/cpu/mpc512x/pci.c: Fix GCC 4.6 warnings
authorAnatolij Gustschin <agust@denx.de>
Thu, 10 Nov 2011 12:21:43 +0000 (12:21 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 20:12:29 +0000 (21:12 +0100)
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>
arch/powerpc/cpu/mpc512x/pci.c

index 141db8b86594ab9703d9edb7c411839e3f9e34e1..16f034d58f9ecab59ce604999951dd26748d7dcf 100644 (file)
@@ -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;