From: Randy Dunlap Date: Mon, 23 May 2011 18:37:09 +0000 (-0700) Subject: mtd: fix physmap.h warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=63da029015b5255915cd6d61f19ffc276ad4635d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David Woodhouse --- diff --git a/include/linux/mtd/physmap.h b/include/linux/mtd/physmap.h index d40bfa1d9c91..e5f21d293c70 100644 --- a/include/linux/mtd/physmap.h +++ b/include/linux/mtd/physmap.h @@ -19,6 +19,7 @@ #include struct map_info; +struct platform_device; struct physmap_flash_data { unsigned int width;