Thread (3 messages) 3 messages, 3 authors, 2012-01-31
STALE5240d REVIEWED: 1 (0M)

[PATCH] LPC32XX build fix

From: Wolfram Sang <hidden>
Date: 2012-01-31 10:10:07

On Fri, Jan 27, 2012 at 02:04:45PM +0100, Roland Stigge wrote:
This patch fixes a GCC compile error ("static declaration follows non-static
declaration") for LPC32XX's watchdog, removing the extern declaration since
it's not called externally.

Signed-off-by: Roland Stigge <redacted>
Subject header should contain "arm: lpc32xx" and describe the fix like
"remove broken non-static declaration" or so

Other than that:

Acked-by: Wolfram Sang <redacted>
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-lpc32xx/common.h b/arch/arm/mach-lpc32xx/common.h
index 4b4e700..75640bfb 100644
--- a/arch/arm/mach-lpc32xx/common.h
+++ b/arch/arm/mach-lpc32xx/common.h
@@ -65,7 +65,6 @@ extern u32 clk_get_pclk_div(void);
  */
 extern void lpc32xx_get_uid(u32 devid[4]);
 
-extern void lpc32xx_watchdog_reset(void);
 extern u32 lpc32xx_return_iram_size(void);
 
 /*
-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120131/14f9ff59/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help