linux-next: mtd tree build failure

From: Stephen Rothwell
Date: Tue May 26 2009 - 23:40:55 EST


Hi David,

Today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/mtd/maps/dilnetpc.c: In function 'init_dnpc':
drivers/mtd/maps/dilnetpc.c:448: error: 'struct mtd_partition' has no member named 'mtdp'
drivers/mtd/maps/dilnetpc.c:449: error: 'struct mtd_partition' has no member named 'mtdp'
drivers/mtd/maps/dilnetpc.c:450: error: 'struct mtd_partition' has no member named 'mtdp'
drivers/mtd/maps/dilnetpc.c:451: error: 'struct mtd_partition' has no member named 'mtdp'

Caused by commit b90cf6681f4f6263920616e7ca2fd09130e4143a ("[MTD] Remove
option for add_mtd_partitions() to not register partitions."). The
comment in that commit even says that it will cause this breakage, so why
hasn't this been fixed?

I have used the mtd tree from next-20090526 for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature