From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Subject: [PATCH 12/19] mtd: rawnand: Get rid of the duplicate nand_chip forward declaration Date: Fri, 7 Sep 2018 00:38:44 +0200 Message-ID: <20180906223851.6964-13-boris.brezillon@bootlin.com> References: <20180906223851.6964-1-boris.brezillon@bootlin.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180906223851.6964-1-boris.brezillon@bootlin.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: Boris Brezillon , Richard Weinberger , Miquel Raynal , linux-mtd@lists.infradead.org Cc: Andrew Lunn , Rich Felker , linux-doc@vger.kernel.org, Tony Lindgren , linux-mips@linux-mips.org, Thomas Petazzoni , Robert Jarzmik , Alexander Clouter , devel@driverdev.osuosl.org, Alexander Shiyan , Jonathan Corbet , Gregory CLEMENT , linux-sh@vger.kernel.org, Yoshinori Sato , Marek Vasut , NXP Linux Team , Sebastian Hesselbarth , Jason Cooper , Haojian Zhuang , Krzysztof Halasa , linux-omap@vger.kernel.org, Brian Norris , Ryan Mallon , David Woodhouse List-Id: linux-omap@vger.kernel.org There's already a forward declaration of nand_chip at the beginning of the file. Get rid of this one. Signed-off-by: Boris Brezillon --- include/linux/mtd/rawnand.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index 768415ed1159..608279104aae 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h @@ -210,9 +210,6 @@ enum nand_ecc_algo { #define NAND_CI_CELLTYPE_MSK 0x0C #define NAND_CI_CELLTYPE_SHIFT 2 -/* Keep gcc happy */ -struct nand_chip; - /* ONFI version bits */ #define ONFI_VERSION_1_0 BIT(1) #define ONFI_VERSION_2_0 BIT(2) -- 2.14.1