]> git.sur5r.net Git - u-boot/commit
drivers/rtc/ds3231.c: fix GCC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Fri, 4 Nov 2011 15:55:12 +0000 (15:55 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:09:50 +0000 (22:09 +0100)
commit397b40caf2eacec576c72eb52144383f11ae7688
tree90a87a07485de14df27a619c962c70a1d1246a1f
parent55b97886f805b9c5283fd926a873979a16131d86
drivers/rtc/ds3231.c: fix GCC 4.6 build warnings

Fix:
ds3231.c: In function 'rtc_get':
ds3231.c:90:52: warning: variable 'control' set but not used
[-Wunused-but-set-variable]

Fix is done by switching to standard debug() instead of custom macro.

Signed-off-by: Wolfgang Denk <wd@denx.de>
drivers/rtc/ds3231.c