[PATCH v2 2/2] gpio-rcar: Remove #ifdef CONFIG_OF around OF-specific sections
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed Jun 19 15:51:31 EDT 2013
Hi Linus,
On Wednesday 19 June 2013 21:17:35 Linus Walleij wrote:
> On Tue, Jun 18, 2013 at 12:29 PM, Laurent Pinchart wrote:
> > All functions and data types used by OF-specific code paths are declared
> > in <linux/of.h> regardless of CONFIG_OF. Replace the #ifdef CONFIG_OF
> > guard with a if(IS_ENABLED(CONFIG_OF)) and let the compiler optimize
> > the unused code away.
> >
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas at ideasonboard.com>
>
> Acked-by: Linus Walleij <linus.walleij at linaro.org>
Thank you. Can you please take the patch in your tree ?
--
Regards,
Laurent Pinchart
More information about the linux-arm-kernel
mailing list