linux-mips
[Top] [All Lists]

mtd related Cobalt build failure with current git

To: Yoichi Yuasa <yuasa@linux-mips.org>, linux-mips@linux-mips.org
Subject: mtd related Cobalt build failure with current git
From: Martin Michlmayr <tbm@cyrius.com>
Date: Sat, 4 Jul 2009 23:37:41 +0200
Cc: dwmw2@infradead.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.19 (2009-01-05)
I get the following Cobalt build failure with current git:

  CC      arch/mips/cobalt/mtd.o
cc1: warnings being treated as errors
In file included from arch/mips/cobalt/mtd.c:22:
include/linux/mtd/partitions.h:50: warning: ‘struct mtd_info’ declared inside 
parameter list
include/linux/mtd/partitions.h:50: warning: its scope is only this definition 
or declaration, which is probably not what you want
include/linux/mtd/partitions.h:51: warning: ‘struct mtd_info’ declared inside 
parameter list
include/linux/mtd/partitions.h:61: warning: ‘struct mtd_info’ declared inside 
parameter list
include/linux/mtd/partitions.h:67: warning: ‘struct mtd_info’ declared inside 
parameter list
make[1]: *** [arch/mips/cobalt/mtd.o] Error 1
make: *** [arch/mips/cobalt] Error 2

Does anyone know if there's a fix for this already?
-- 
Martin Michlmayr
http://www.cyrius.com/

<Prev in Thread] Current Thread [Next in Thread>