]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
rtc: remove broken rtc_read and rtc_write declarations
authorKim Phillips <kim.phillips@freescale.com>
Mon, 30 Mar 2009 19:28:05 +0000 (14:28 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 1 Apr 2009 20:34:37 +0000 (22:34 +0200)
commitc2eb8be7f760a2efe30a495bfb10857838dcf3fa
tree6ade3eabaa45ddd960ee951cc21ede054498d85c
parent2344bb8de2354101a8264c2123303c9d8d2aed3c
rtc: remove broken rtc_read and rtc_write declarations

commit 04e11cf3 "rtc: add support for 4543 RTC (manufactured by e.g.
EPSON)" introduces the following build error on boards configuring e.g,
the ds1374 rtc:

Configuring for MPC837XEMDS board...
ds1374.c:103: error: static declaration of 'rtc_read' follows non-static declaration
/home/r1aaha/git/u-boot/include/rtc.h:64: error: previous declaration of 'rtc_read' was here
ds1374.c:104: error: conflicting types for 'rtc_write'
/home/r1aaha/git/u-boot/include/rtc.h:65: error: previous declaration of 'rtc_write' was here

this reverts the erroneous chunk.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Acked-by: Detlev Zundel <dzu@denx.de>
CC: Detlev Zundel <dzu@denx.de>
CC: Andreas Pfefferle <ap@denx.de>
include/rtc.h