From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 5 Oct 2018 16:37:50 +0200 From: Miquel Raynal To: Arnd Bergmann Cc: Boris Brezillon , linux-mtd@lists.infradead.org, Aaro Koskinen , Tony Lindgren , Alexander Sverdlin , Paul Burton , Wolfram Sang , Suman Anna , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [v2] ARM: omap1: add nand_chip declaration Message-ID: <20181005163750.01fddf10@xps13> In-Reply-To: <20180926142029.619397-1-arnd@arndb.de> References: <20180926142029.619397-1-arnd@arndb.de> 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 Arnd, Arnd Bergmann wrote on Wed, 26 Sep 2018 16:20:16 +0200: > Recent MTD changes caused a minor build regression on OMAP1: >=20 > In file included from arch/arm/mach-omap1/devices.c:31: > arch/arm/mach-omap1/common.h:85:39: error: 'struct nand_chip' declared in= side parameter list will not be visible outside of this definition or decla= ration [-Werror] >=20 > Fixes: 1002aed789bc ("mtd: rawnand: plat_nand: Pass a nand_chip object to= all platform_nand_ctrl hooks") > Signed-off-by: Arnd Bergmann > ---- > v2: remove unused linux/mtd/mtd.h inclusion > --- Also squashed in nand/next with the failing commit. Thanks, Miqu=C3=A8l