Mtd compile fails on ppc arch

David Woodhouse dwmw2 at infradead.org
Tue Feb 3 01:30:58 EST 2004


On Tue, 2004-02-03 at 14:03 +0800, Li Yang wrote:
> Hi,
> 
> I updated the mtd driver in kernel through the latest snapshot.  I have
> tested kernel 2.4.20 and 2.4.22.  The same parse error occurred for ppc
> arch.  I have tried two cross toolchains, the results are the same.  So
> it's unlikely to be cross compiler problem.  Btw: i386 compiles well.  I
> looked into some code, the problem seems to be related to headers.  But
> I can't figure it out.  Does anyone have a clue?

#include <linux/slab.h>

Evidently it gets included somehow on i386 via one of the other headers
we _do_ include -- but not on ppc. But sharp.c is deprecated and you
should be using jedec_probe and cfi_cmdset_0002 instead. 

-- 
dwmw2





More information about the linux-mtd mailing list