Re: reference to non-existent CONFIG_HAVE_GPIO_LIB variable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 16, 2011 at 1:33 PM, Florian Fainelli <florian@xxxxxxxxxxx> wrote:
> Hello,
>
> On Monday 16 May 2011 11:36:46 Robert P. J. Day wrote:
>> On Mon, 16 May 2011, Florian Fainelli wrote:
>> > Hello,
>> >
>> > On Sunday 15 May 2011 01:05:58 Robert P. J. Day wrote:
>> > >   the current kernel source contains a Makefile reference to the above
>> > >
>> > > Kconfig variable that does not appear to be defined anywhere.
>> >
>> > It would help if you mention which Makefile references this Kconfig
>> > variable along with the changeset which introduced it.
>>
>>   quite so, my bad.  here's the changeset:
>
> Thank you. I think the author rather meant ARCH_WANT_OPTIONAL_GPIOLIB instead,
> can you build test a patch with this and submit it if you are happy with it?

Looking at the sources of the two files, I think they can only be
built when CONFIG_GPIOLIB=y, so the following plus a
"select ARCH_WANT_OPTIONAL_GPIOLIB" entry to
arch/mips/pmc-sierra/Kconfig  should do the right thing:

-obj-$(CONFIG_HAVE_GPIO_LIB) += gpio.o gpio_extended.o
+obj-$(CONFIG_GPIOLIB) += gpio.o gpio_extended.o

Manuel



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux