From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxeVV-0007sk-Ux for linux-mtd@lists.infradead.org; Wed, 05 Sep 2018 20:34:36 +0000 Date: Wed, 5 Sep 2018 22:34:19 +0200 From: Miquel Raynal To: Randy Dunlap Cc: LKML , linux-mtd@lists.infradead.org, Geert Uytterhoeven , Yoshinori Sato , Rich Felker , Jacopo Mondi , Magnus Damm Subject: Re: [PATCH] arch/sh: fix build warning in mach-kfr2r09/setup.c Message-ID: <20180905223419.057a7c39@xps13> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Randy, Randy Dunlap wrote on Wed, 5 Sep 2018 11:17:26 -0700: > From: Randy Dunlap >=20 > arch/sh/boards/mach-kfr2r09/setup.c does not need to #include > , and doing so causes a build warning, so drop > that header file. >=20 > In file included from ../arch/sh/boards/mach-kfr2r09/setup.c:28: > ../include/linux/mtd/onenand.h:225:12: warning: 'struct mtd_oob_ops' decl= ared inside parameter list will not be visible outside of this definition o= r declaration > struct mtd_oob_ops *ops); >=20 > Fixes: f3590dc32974 ("media: arch: sh: kfr2r09: Use new renesas-ceu camer= a driver") >=20 > Reported-by: Geert Uytterhoeven > Suggested-by: Miquel Raynal > Signed-off-by: Randy Dunlap > Cc: Yoshinori Sato > Cc: Rich Felker > Cc: Jacopo Mondi > Cc: Magnus Damm > Cc: linux-mtd@lists.infradead.org > --- > arch/sh/boards/mach-kfr2r09/setup.c | 1 - > 1 file changed, 1 deletion(-) >=20 > --- lnx-419-rc1.orig/arch/sh/boards/mach-kfr2r09/setup.c > +++ lnx-419-rc1/arch/sh/boards/mach-kfr2r09/setup.c > @@ -25,7 +25,6 @@ > #include > #include > #include > -#include > #include > #include > #include >=20 >=20 Reviewed-by: Miquel Raynal Thanks, Miqu=C3=A8l