Messages in this thread | | | Subject | Re: compile failure in pata_sil680.c | From | Benjamin Herrenschmidt <> | Date | Wed, 09 Apr 2008 06:55:36 +1000 |
| |
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.
| |