Re: [BUILD FAILURE 10/12] Next April 21 : PPC64 randconfig [drivers/mtd/maps/sbc8240.o]

From: Scott Wood
Date: Tue Apr 21 2009 - 16:02:05 EST


Subrata Modak wrote:
This is a very old one. DoesnÂt seem to go away. Reported this earlier
on 14th April:
http://lkml.org/lkml/2009/4/14/483,

CC [M] drivers/mtd/maps/sbc8240.o
drivers/mtd/maps/sbc8240.c:31:1: warning: "DEBUG" redefined
In file included from drivers/mtd/maps/sbc8240.c:23:
include/linux/mtd/mtd.h:339:1: warning: this is the location of the
previous definition
drivers/mtd/maps/sbc8240.c: In function âinit_sbc8240_mtdâ:
drivers/mtd/maps/sbc8240.c:172: error: âsbc8240_mtdâ undeclared (first
use in this function)
drivers/mtd/maps/sbc8240.c:172: error: (Each undeclared identifier is
reported only once
drivers/mtd/maps/sbc8240.c:172: error: for each function it appears in.)
drivers/mtd/maps/sbc8240.c: In function âcleanup_sbc8240_mtdâ:
drivers/mtd/maps/sbc8240.c:233: error: âsbc8240_mtdâ undeclared (first
use in this function)

This looks like an arch/ppc orphan. It's not enabled by any defconfig, and it doesn't look like it does anything that physmap_of can't do.

I'd just remove it.

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