Skip to content

Commit 63da029

Browse files
rddunlapDavid Woodhouse
authored andcommitted
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@oracle.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
1 parent 29a6ccc commit 63da029

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎include/linux/mtd/physmap.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <linux/mtd/partitions.h>
2020

2121
struct map_info;
22+
struct platform_device;
2223

2324
struct physmap_flash_data {
2425
unsigned int width;

0 commit comments

Comments
 (0)