Re: [-mmotm] some different buliding failures

From: Ben Dooks
Date: Wed Jul 02 2008 - 04:30:20 EST


On Wed, Jul 02, 2008 at 05:20:21PM +0900, Paul Mundt wrote:
> On Wed, Jul 02, 2008 at 01:02:12AM -0700, Andrew Morton wrote:
> > On Wed, 02 Jul 2008 14:23:28 +0800 Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:
> > > drivers/mfd/sm501.c:39: error: field 'gpio' has incomplete type
> > >
> >
> > Ben, can you please take a look? I suspect the fix is to disable this
> > driver on x86.
> >
> Note that there are SM501 PCI cards that are architecture independent..

The best fix would be to enable the gpiolib[1] for x86. I agree the
changes to ensure it builds with gpio turned off where incomplete. I'll
re-issue these as soon as possible.

[1] why is this a library anyway? it isn't as if you can export it to use
in other projects, and the choice is gpiolib or nothing.

--
Ben

Q: What's a light-year?
A: One-third less calories than a regular year.

--
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/