Re: Make spitz compile again

From: Richard Purdie
Date: Tue Nov 01 2005 - 15:10:57 EST


On Tue, 2005-11-01 at 20:31 +0100, Pavel Machek wrote:
> Hi!
>
> > > This is what I needed to do after update to latest linus
> > > kernel. Perhaps it helps someone.
> > >
> > > Signed-off-by: Pavel Machek <pavel@xxxxxxx>
> > >
> > > , but it is against Richard's tree merged into my tree, so do not
> > > expect to apply it over mainline. Akita code movement is needed if I
> > > want to compile kernel without akita support...
> >
> > This is an update of my tree against 2.6.14-git3:
> >
> > http://www.rpsys.net/openzaurus/temp/total-2.6.14-git3-r0.patch.gz
>
> I needed this to get it to compile... Please apply (probably modulo //
> part).
>
> Signed-off-by: Pavel Machek <pavel@xxxxxxx>
> Pavel

> --- clean-rp/arch/arm/mach-pxa/pxa_keys.c 2005-11-01 19:32:56.000000000 +0100
> +++ linux-rp/arch/arm/mach-pxa/pxa_keys.c 2005-11-01 20:17:38.000000000 +0100

None of the Zaurus models use pxa_keys so I don't know why you're
compiling this. I'll sort it out but its only needed for the hx2750 in
the tree you have.

> static struct pxaficp_platform_data spitz_ficp_platform_data = {
> .transceiver_cap = IR_SIRMODE | IR_OFF,
> - .transceiver_mode = spitz_irda_transceiver_mode,
> +// .transceiver_mode = spitz_irda_transceiver_mode,
> };

I'm not sure why you'd want to do that?

I'll move the akita code around and sort out the #ifdefs - it should
compile and just throw the odd warning about unused code as it stands
though?

Richard



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