lkml.org 
[lkml]   [2009]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2009-07-01 23:11    [W:0.085 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site