Re: compile failure in pata_sil680.c

From: Benjamin Herrenschmidt
Date: Tue Apr 08 2008 - 16:58:27 EST



On Tue, 2008-04-08 at 16:44 +0300, Meelis Roos wrote:
> commit 0f436eff54f90419ac1b8accfb3e6e17c4b49a4e introduces the following
> compile failure on ppc (not powerpc), prep subarch. Seems that
> machine_is is only defined in the new powerpc arch.
>
> drivers/ata/pata_sil680.c: In function 'sil680_init_chip':
> drivers/ata/pata_sil680.c:274: error: implicit declaration of function 'machine_is'
> drivers/ata/pata_sil680.c:274: error: 'cell' undeclared (first use in this function)
> drivers/ata/pata_sil680.c:274: error: (Each undeclared identifier is reported only once
> drivers/ata/pata_sil680.c:274: error: for each function it appears in.)
> make[2]: *** [drivers/ata/pata_sil680.o] Error 1

Argh. We still haven't got rid of arch/ppc...

Fix is to replace CONFIG_PPC with CONFIG_PPC_MERGE.

I'll send a patch.

Ben.


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