]> git.dujemihanovic.xyz Git - u-boot.git/commit
mpc8260/i2c.c: replace PRINTD() by debug()
authorWolfgang Denk <wd@denx.de>
Fri, 4 Nov 2011 15:55:57 +0000 (15:55 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:16:46 +0000 (22:16 +0100)
commit918e34674f26ba892b88f2bde621ec36c77dc538
treebc7abe3d668e2572eb0b27e206113db515bc398a
parent86ba9255342c7b298227f19adc50077195d986b6
mpc8260/i2c.c: replace PRINTD() by debug()

This also fixes some GCC 4.6 build warnings like:
i2c.c: In function 'i2c_init':
i2c.c:221:26: warning: variable 'txbd' set but not used
[-Wunused-but-set-variable]
i2c.c:221:19: warning: variable 'rxbd' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Heiko Schocher <hs@denx.de>
arch/powerpc/cpu/mpc8260/i2c.c