[PATCH] LPC32XX build fix

Wolfram Sang w.sang at pengutronix.de
Tue Jan 31 05:10:07 EST 2012


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 <stigge at antcom.de>

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 <w.sang at pengutronix.de>

> 
> 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>


More information about the linux-arm-kernel mailing list