lkml.org 
[lkml]   [2010]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: mmotm 2010-02-10-16-17 uploaded (timberdale)
On Thu, 11 Feb 2010 14:18:52 -0800
Randy Dunlap <randy.dunlap@oracle.com> wrote:

> On 02/11/10 14:01, Andrew Morton wrote:
> > On Wed, 10 Feb 2010 18:43:33 -0800
> > Randy Dunlap <randy.dunlap@oracle.com> wrote:
> >
> >> On 02/10/10 16:17, akpm@linux-foundation.org wrote:
> >>> The mm-of-the-moment snapshot 2010-02-10-16-17 has been uploaded to
> >>>
> >>> http://userweb.kernel.org/~akpm/mmotm/
> >>>
> >>> and will soon be available at
> >>>
> >>> git://zen-kernel.org/kernel/mmotm.git
> >>>
> >>> It contains the following patches against 2.6.33-rc7:
> >>
> >>
> >> When CONFIG_GPIOLIB is not enabled:
> >>
> >> CC drivers/mfd/timberdale.o
> >> In file included from mmotm-2010-0210-1617/drivers/mfd/timberdale.c:37:
> >> mmotm-2010-0210-1617/include/linux/spi/max7301.h:14: error: field 'chip' has incomplete type
> >> make[3]: *** [drivers/mfd/timberdale.o] Error 1
> >>
> >>
> >> Build error observed on i386 and on x86_64.
> >>
> >
> > Bug is in mainline too, I think.
> >
> > Something like this?
>
> Nope, that does not affect the building of the timberdale (see $subject) driver.
> It still has the same error with this patch applied.

Yeah, I patched the wrong record.

>
> > --- a/drivers/gpio/Kconfig~drivers-gpio-max7301c-depends-on-gpiolib
> > +++ a/drivers/gpio/Kconfig
> > @@ -92,7 +92,7 @@ comment "I2C GPIO expanders:"
> >
> > config GPIO_MAX7300
> > tristate "Maxim MAX7300 GPIO expander"
> > - depends on I2C
> > + depends on I2C && GPIOLIB
> > select GPIO_MAX730X
> > help
> > GPIO driver for Maxim MAX7301 I2C-based GPIO expander.

This?

--- a/drivers/gpio/Kconfig~drivers-gpio-max7301c-depends-on-gpiolib
+++ a/drivers/gpio/Kconfig
@@ -256,7 +256,7 @@ comment "SPI GPIO expanders:"

config GPIO_MAX7301
tristate "Maxim MAX7301 GPIO expander"
- depends on SPI_MASTER
+ depends on SPI_MASTER && GPIO_LIB
select GPIO_MAX730X
help
GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
_


\
 
 \ /
  Last update: 2010-02-11 23:41    [from the cache]
©2003-2011 Jasper Spaans