Re: [PATCH] FRV: Fix a warning due to an unnecessary #include of anMTD header

From: Andrew Morton
Date: Wed Jul 01 2009 - 17:30:17 EST


On Tue, 30 Jun 2009 22:24:25 +0100
David Howells <dhowells@xxxxxxxxxx> wrote:

> Fix a warning due to an unnecessary #inclusion of linux/mtd/partitions:
>
> CC arch/frv/mb93090-mb00/flash.o
> In file included from arch/frv/mb93090-mb00/flash.c:15:
> 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

hm. Maybe fix include/linux/mtd/partitions.h?

> arch/frv/mb93090-mb00/flash.c | 1 -

That file isn't in mainline or linux-next afacit.
--
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/