From: Wolfgang Denk Date: Wed, 06 Oct 2010 22:36:02 +0200 Subject: [U-Boot] [PATCH] serial.c: Fix build breakage introduced with commit e3c78c9b In-Reply-To: <1286383859-14886-1-git-send-email-sr@denx.de> References: <1286383859-14886-1-git-send-email-sr@denx.de> Message-ID: <20101006203602.B293E1539A0@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefan Roese, In message <1286383859-14886-1-git-send-email-sr@denx.de> you wrote: > This patch fixes the compilation problem introduced with commit > e3c78c9b [ppc4xx: Remove now unused CONFIG_UART1_CONSOLE]: > > -> ./MAKEALL TB5200 > Configuring for TB5200 board... > serial.c: In function '__default_serial_console': > serial.c:94: warning: no return statement in function returning non-void > > I accidentally removed an "#else" line. This patch adds it back. > > Signed-off-by: Stefan Roese > --- > common/serial.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "If anything can go wrong, it will." - Edsel Murphy