lkml.org 
[lkml]   [2009]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] FRV: Fix a warning due to an unnecessary #include of an MTD header
Date
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

Signed-off-by: David Howells <dhowells@redhat.com>
---

arch/frv/mb93090-mb00/flash.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/arch/frv/mb93090-mb00/flash.c b/arch/frv/mb93090-mb00/flash.c
index c0e3707..6aad117 100644
--- a/arch/frv/mb93090-mb00/flash.c
+++ b/arch/frv/mb93090-mb00/flash.c
@@ -11,7 +11,6 @@

#include <linux/init.h>
#include <linux/platform_device.h>
-#include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h>

#define MB93090_BOOTROM_ADDR 0xFF000000 /* Boot ROM */


\
 
 \ /
  Last update: 2009-06-30 23:19    [W:0.030 / U:2.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site