[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071128120649.019e3689.akpm@linux-foundation.org>
Date: Wed, 28 Nov 2007 12:06:49 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Christoph Lameter <clameter@....com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: 2.6.24-rc3-mm2 (build failure on arm)
On Wed, 28 Nov 2007 11:54:10 -0800 (PST)
Christoph Lameter <clameter@....com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists