Re: linux-next: build failure after merge of the gpio tree

From: Stephen Rothwell
Date: Wed Oct 12 2011 - 00:25:01 EST


Hi,

On Tue, 11 Oct 2011 16:02:40 +0900 Tomoya MORINAGA <tomoya-linux@xxxxxxxxxxxxxxxxxx> wrote:
>
> (2011/10/11 15:37), Stephen Rothwell wrote:
> >
> > On Thu, 6 Oct 2011 14:48:26 +1100 Stephen Rothwell<sfr@xxxxxxxxxxxxxxxx> wrote:
> >>
> >> After merging the gpio tree, today's linux-next build (x86_64
> >> allmodconfig) failed like this:
> >>
> >> ERROR: "irq_setup_generic_chip" [drivers/gpio/gpio-pch.ko] undefined!
> >> ERROR: "irq_alloc_generic_chip" [drivers/gpio/gpio-pch.ko] undefined!
> >> ERROR: "irq_setup_generic_chip" [drivers/gpio/gpio-ml-ioh.ko] undefined!
> >> ERROR: "irq_alloc_generic_chip" [drivers/gpio/gpio-ml-ioh.ko] undefined!
> >>
> >> Presumably caused by commits 54be566317b6 ("gpio-ml-ioh: Support
> >> interrupt function") and 38eb18a6f92d ("gpio-pch: Support interrupt
> >> function").
> >>
> >> I have used the gpio tree from next-20111005 for today.
> >
> > I am still getting this build failure.
> >
> I built this driver with success using linux-3.0.
> I want to try to build with the same as your build environment.
> Where can I get your environment ?

Just try building gpio-pch and gpio-ml-ioh as modules ...
irq_setup_generic_chip() does not have an EXPORT_SYMBOL (and didn't in
v3.0 either).

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature