4xx_pci.c: add error checking, fix GCC 4.6 build warning
authorWolfgang Denk <wd@denx.de>
Sat, 29 Oct 2011 09:38:31 +0000 (09:38 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 3 Nov 2011 19:40:38 +0000 (20:40 +0100)
commite5d5ed4b20821cbab128802daad16c386400d6de
tree2ae01085d2fb45b6a72f698665bdb79d0119aee1
parentec98a9bd4ea3577afdb858940f8df074eda73923
4xx_pci.c: add error checking, fix GCC 4.6 build warning

Fix:
4xx_pci.c: In function 'pci_init_board':
4xx_pci.c:855:6: warning: variable 'busno' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
arch/powerpc/cpu/ppc4xx/4xx_pci.c