]> Git Repo - linux.git/commitdiff
arch/sh/boards/mach-kfr2r09/setup.c: fix struct mtd_oob_ops build warning
authorRandy Dunlap <[email protected]>
Fri, 28 Dec 2018 08:31:39 +0000 (00:31 -0800)
committerLinus Torvalds <[email protected]>
Fri, 28 Dec 2018 20:11:44 +0000 (12:11 -0800)
arch/sh/boards/mach-kfr2r09/setup.c does not need to #include
<mtd/onenand.h>, 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);

Link: http://lkml.kernel.org/r/[email protected]
Fixes: f3590dc32974 ("media: arch: sh: kfr2r09: Use new renesas-ceu camera driver")
Signed-off-by: Randy Dunlap <[email protected]>
Reported-by: Geert Uytterhoeven <[email protected]>
Suggested-by: Miquel Raynal <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Cc: Rich Felker <[email protected]>
Cc: Jacopo Mondi <[email protected]>
Cc: Magnus Damm <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/sh/boards/mach-kfr2r09/setup.c

index e59c577ed871591a62e5b25789469549a2641b2d..c70bc7809ddaecce66030c43ee914c24eee894e7 100644 (file)
@@ -25,7 +25,6 @@
 #include <linux/memblock.h>
 #include <linux/mfd/tmio.h>
 #include <linux/mmc/host.h>
-#include <linux/mtd/onenand.h>
 #include <linux/mtd/physmap.h>
 #include <linux/platform_data/lv5207lp.h>
 #include <linux/platform_device.h>
This page took 0.060523 seconds and 4 git commands to generate.