From mboxrd@z Thu Jan 1 00:00:00 1970 To: LKML Cc: Geert Uytterhoeven , Miquel Raynal , Yoshinori Sato , Rich Felker , Jacopo Mondi , Magnus Damm , linux-mtd@lists.infradead.org, linux-sh@vger.kernel.org, Andrew Morton From: Randy Dunlap Subject: [PATCH resend] arch/sh: mach-kfr2r09: fix struct mtd_oob_ops build warning Message-ID: <702f0a25-c63e-6912-4640-6ab0f00afbc7@infradead.org> Date: Thu, 1 Nov 2018 16:38:30 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Randy Dunlap arch/sh/boards/mach-kfr2r09/setup.c does not need to #include , and doing so causes a build warning, so drop that header file. In file included from ../arch/sh/boards/mach-kfr2r09/setup.c:28: ../include/linux/mtd/onenand.h:225:12: warning: 'struct mtd_oob_ops' declared inside parameter list will not be visible outside of this definition or declaration struct mtd_oob_ops *ops); Fixes: f3590dc32974 ("media: arch: sh: kfr2r09: Use new renesas-ceu camera driver") Reported-by: Geert Uytterhoeven Suggested-by: Miquel Raynal Signed-off-by: Randy Dunlap Reviewed-by: Miquel Raynal Cc: Yoshinori Sato Cc: Rich Felker Cc: Jacopo Mondi Cc: Magnus Damm Cc: linux-mtd@lists.infradead.org Cc: linux-sh@vger.kernel.org --- arch/sh/boards/mach-kfr2r09/setup.c | 1 - 1 file changed, 1 deletion(-) --- linux-next-20181101.orig/arch/sh/boards/mach-kfr2r09/setup.c +++ linux-next-20181101/arch/sh/boards/mach-kfr2r09/setup.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include