Re: [PATCH] pinctrl: fix build failure on PPC

From: Linus Walleij
Date: Wed Apr 11 2012 - 04:26:30 EST


On Tue, Apr 10, 2012 at 5:14 PM, Stephen Warren <swarren@xxxxxxxxxxxxx> wrote:
> On 04/10/2012 01:52 AM, Linus Walleij wrote:

>> So let's use some local Kconfig option that depends on both OF
>> and PINCTRL so that this file is only compiled if you have
>> both enabled.
>
> It seems simpler to just fix the Makefile to only compile the file when
> its needed directly, without introducing a new Kconfig option. See
> https://lkml.org/lkml/2012/4/3/445.

But I think it is basically a config problem, not a compilation problem,
that is why I did it this way.

But I won't be stubborn about it ... I'll see if I can just switch that one
patch out then.

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/