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

Scott Wood scottwood at freescale.com
Wed Apr 22 06:00:24 EST 2009


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



More information about the Linuxppc-dev mailing list