Re: Fix collie compilation

From: Richard Purdie
Date: Fri Apr 14 2006 - 14:11:38 EST


On Fri, 2006-04-14 at 20:03 +0200, Pavel Machek wrote:
> Fix collie compilation with current defconfig
>[...]
> diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c
> index be589ce..9aa6cde 100644
> --- a/arch/arm/mach-sa1100/collie.c
> +++ b/arch/arm/mach-sa1100/collie.c
> @@ -295,7 +295,9 @@ static void __init collie_init(void)
> LCM_DAC |= (LCM_DAC_SCLOEB | LCM_DAC_SDAOEB); /* init DAC */
> #endif
>
> +#ifdef CONFIG_PCMCIA_SA1100
> platform_scoop_config = &collie_pcmcia_config;
> +#endif

I'm fine with the defconfig changes but this last bit doesn't fix the
original problem if CONFIG_PCMCIA_SA1100=m. The correct solution is to
move platform_scoop_config back to scoop.c which I'll submit a patch
for.

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/