[PATCH] pinctrl: fix build failure on PPC

Linus Walleij linus.walleij at linaro.org
Wed Apr 11 04:26:30 EDT 2012


On Tue, Apr 10, 2012 at 5:14 PM, Stephen Warren <swarren at wwwdotorg.org> 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



More information about the linux-arm-kernel mailing list