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