Re: [PATCH] pinctrl: fix build when CONFIG_OF && !CONFIG_PINCTRL

From: Linus Walleij
Date: Tue Apr 10 2012 - 04:53:32 EST


On Wed, Apr 4, 2012 at 5:53 AM, Stephen Warren <swarren@xxxxxxxxxxxxx> wrote:

> From: Stephen Warren <swarren@xxxxxxxxxx>
>
> pinctrl/devicetree.c won't compile when !CONFIG_PINCTRL, since the
> pinctrl headers don't declare some types when !PINCTRL. Make sure
> pinctrl/Makefile only attempts to compile devicetree.c when OF &&
> PINCTRL.
>
> Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx>

I fixed this other Kconfig patch to address the same problem.

If you think this approach is better let me know...

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/