mtd: fix physmap.h warnings
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed Jun 1 06:59:01 EDT 2011
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=63da029015b5255915cd6d61f19ffc276ad4635d
Commit: 63da029015b5255915cd6d61f19ffc276ad4635d
Parent: 29a6ccca3869bbe33879dae0cd7df2a1559eff54
Author: Randy Dunlap <randy.dunlap at oracle.com>
AuthorDate: Mon May 23 11:37:09 2011 -0700
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed Jun 1 11:36:49 2011 +0100
mtd: fix physmap.h warnings
Fix build warnings in physmap.h:
include/linux/mtd/physmap.h:25: warning: 'struct platform_device' declared inside parameter list
include/linux/mtd/physmap.h:25: warning: its scope is only this definition or declaration, which is probably not what you want
include/linux/mtd/physmap.h:26: warning: 'struct platform_device' declared inside parameter list
include/linux/mtd/physmap.h:27: warning: 'struct platform_device' declared inside parameter list
Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
include/linux/mtd/physmap.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/mtd/physmap.h b/include/linux/mtd/physmap.h
index d40bfa1..e5f21d2 100644
--- a/include/linux/mtd/physmap.h
+++ b/include/linux/mtd/physmap.h
@@ -19,6 +19,7 @@
#include <linux/mtd/partitions.h>
struct map_info;
+struct platform_device;
struct physmap_flash_data {
unsigned int width;
More information about the linux-mtd-cvs
mailing list