Messages in this thread | | | Date | Wed, 1 Jul 2009 14:07:05 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] FRV: Fix a warning due to an unnecessary #include of an MTD header |
| |
On Tue, 30 Jun 2009 22:24:25 +0100 David Howells <dhowells@redhat.com> 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.
| |