]> git.sur5r.net Git - u-boot/commit
arch/powerpc/cpu/mpc8260/spi.c: Fix GCC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Sat, 5 Nov 2011 05:13:05 +0000 (05:13 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:47:44 +0000 (22:47 +0100)
commit69545df0e67c33d432765e5bdee1c0cf613829bf
treee7aa4622ddbcfbc4bb31c5203a535cf2747afa53
parent4f5710f740adf8af827427ecd7d3df8619849a6b
arch/powerpc/cpu/mpc8260/spi.c: Fix GCC 4.6 build warnings

Fix:
spi.c: In function 'spi_init_r':
spi.c:279:22: warning: variable 'cp' set but not used
[-Wunused-but-set-variable]
spi.c: In function 'spi_xfer':
spi.c:361:22: warning: variable 'cp' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
arch/powerpc/cpu/mpc8260/spi.c