]> Git Repo - linux.git/commit
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)
commit440e7b379f91acd245d5c8de94d533f40f5dffb3
treecf66ac73796529db95e52d0556e4807e7f0061a0
parentcd68a52533380213beb95c5bc41d8f9d7e4aec1f
arch/sh/boards/mach-kfr2r09/setup.c: fix struct mtd_oob_ops build warning

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
This page took 0.054365 seconds and 4 git commands to generate.