From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] [v2] ARM: omap1: add nand_chip declaration Date: Wed, 26 Sep 2018 07:59:32 -0700 Message-ID: <20180926145932.GR5662@atomide.com> References: <20180926142029.619397-1-arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180926142029.619397-1-arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org To: Arnd Bergmann Cc: Boris Brezillon , Miquel Raynal , linux-mtd@lists.infradead.org, Aaro Koskinen , Alexander Sverdlin , Paul Burton , Wolfram Sang , Suman Anna , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org List-Id: linux-omap@vger.kernel.org * Arnd Bergmann [180926 14:26]: > Recent MTD changes caused a minor build regression on OMAP1: > > In file included from arch/arm/mach-omap1/devices.c:31: > arch/arm/mach-omap1/common.h:85:39: error: 'struct nand_chip' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] > > 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 Acked-by: Tony Lindgren