[PATCH] OMAP2+: sdrc: fix compile break on OMAP4-only config on current omap-for-linus

Tony Lindgren tony at atomide.com
Mon Feb 28 20:58:18 EST 2011


* Sergei Shtylyov <sshtylyov at mvista.com> [110228 03:48]:
> 
> On 28-02-2011 3:03, Paul Walmsley wrote:
> 
> >Tony, do you want to take this one?

Applying..
 
> >+#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
> >  void __init omap2_sdrc_init(struct omap_sdrc_params *sdrc_cs0,
> >  			    struct omap_sdrc_params *sdrc_cs1);
> >+#else
> >+static inline void __init omap2_sdrc_init(struct omap_sdrc_params *sdrc_cs0,
> 
>    No need to annotate it as __init.

..modified this.

Tony



More information about the linux-arm-kernel mailing list