From: Detlev Zundel Date: Tue, 31 Mar 2009 00:49:33 +0200 Subject: [U-Boot] [PATCH] rtc: remove broken rtc_read and rtc_write declarations In-Reply-To: <20090330142805.a8919572.kim.phillips@freescale.com> (Kim Phillips's message of "Mon, 30 Mar 2009 14:28:05 -0500") References: <20090330142805.a8919572.kim.phillips@freescale.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Kim, > 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 > CC: Detlev Zundel > CC: Andreas Pfefferle Acked-by: Detlev Zundel Sorry for the breakage. Cheers Detlev -- Math and Alcohol don't mix, so... PLEASE DON'T DRINK AND DERIVE [Motto of the society: Mathematicians Against Drunk Deriving] -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de