Thread (3 messages) 3 messages, 3 authors, 2012-01-31
DORMANTno replies

[PATCH] LPC32XX build fix

From: Grant Likely <hidden>
Date: 2012-01-31 16:14:18

On Fri, Jan 27, 2012 at 6:04 AM, Roland Stigge [off-list ref] wrote:
quoted hunk ↗ jump to hunk
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>
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
No need to CC me on patches like this.  I'm not in any way involved
with lpc32xx maintainership.

g.
quoted hunk ↗ jump to hunk
@@ -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);

?/*


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help