Re: 2.6.24-rc3-mm2 (build failure on arm)

From: Andrew Morton
Date: Wed Nov 28 2007 - 15:07:08 EST


On Wed, 28 Nov 2007 11:54:10 -0800 (PST)
Christoph Lameter <clameter@xxxxxxx> wrote:

> Crossbuild on arm with shark_deconfig fails:
>
> CC [M] sound/oss/uart401.o
> CC net/sched/sch_generic.o
> CC net/core/dst.o
> AS arch/arm/lib/getuser.o
> drivers/ide/arm/ide_arm.c: In function 'ide_arm_init':
> drivers/ide/arm/ide_arm.c:42: error: implicit declaration of function
> 'ide_device_idx'
> make[2]: *** [drivers/ide/arm/ide_arm.o] Error 1
> make[1]: *** [drivers/ide] Error 2
> make[1]: *** Waiting for unfinished jobs....
> CC net/core/netevent.o
> CC net/core/neighbour.o
>

this, I guess:

--- a/drivers/ide/arm/ide_arm.c~fix-ide-mm-ide-fix-host-drivers-depending-on-ide_generic-to-probe-for-interfaces
+++ a/drivers/ide/arm/ide_arm.c
@@ -39,6 +39,6 @@ void __init ide_arm_init(void)
ide_init_port_hw(hwif, &hw);
idx[0] = hwif->index;

- ide_device_idx(idx);
+ ide_device_add(idx);
}
}
_

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