From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E1CDC43381 for ; Sun, 31 Mar 2019 11:12:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D104F20870 for ; Sun, 31 Mar 2019 11:12:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nTOENFHE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D104F20870 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=collabora.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PoxqzQO+D7RCgSNxXdgbWw80SkNFg88z4vxdcDbr51A=; b=nTOENFHEUL/LC5 LdGYRM/Ibo8smhXO/zjI2kaomGsuFi3GaqjBe3sEza4WOyWgTZm2QnW+M0CwiKolarNTGauI1WJJ9 nOgSY6RU4J+FuE1/gTlK6foULSGfuAznBTQNIMl2IRzQjsSkQyLZJHErlN3QwXaSssmOMIJq0hwVc nZtfH/5+O7yLydoK7mKi0GSM7iedKz0IvKlER0iLm6X0NjD4CFXe5PYIP0Hp3SK9bt02MevspGW/z 6HHrDfCzpGDUlqGoB8KUF/m77+zIiCWVPJATWsMWALczRqJuLTuK312AmwTERqnfig2l9VRZIM1n6 zveK7YhMojBdTGhoq2pw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAYO7-00026q-Rn; Sun, 31 Mar 2019 11:12:31 +0000 Received: from bhuna.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e3e3]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAYO4-00026S-FA; Sun, 31 Mar 2019 11:12:30 +0000 Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bbrezillon) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id F11302606C9; Sun, 31 Mar 2019 12:12:23 +0100 (BST) Date: Sun, 31 Mar 2019 13:12:20 +0200 From: Boris Brezillon To: Miquel Raynal Subject: Re: [PATCH v2 01/36] mtd: nand: Move nand_device forward declaration to the top Message-ID: <20190331131220.6be34fd3@collabora.com> In-Reply-To: <20190304222841.13899-2-miquel.raynal@bootlin.com> References: <20190304222841.13899-1-miquel.raynal@bootlin.com> <20190304222841.13899-2-miquel.raynal@bootlin.com> Organization: Collabora X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190331_041228_637396_279314BC X-CRM114-Status: GOOD ( 16.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mason Yang , Vignesh R , Tudor Ambarus , Julien Su , Richard Weinberger , Boris Brezillon , Schrempf Frieder , Paul Cercueil , Marek Vasut , linux-mtd@lists.infradead.org, Thomas Petazzoni , Brian Norris , David Woodhouse , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 4 Mar 2019 23:28:06 +0100 Miquel Raynal wrote: > This structure might be used earlier in this file, let's move the > forward declaration at the top. > > Signed-off-by: Miquel Raynal Reviewed-by: Boris Brezillon > --- > include/linux/mtd/nand.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h > index cebc38b6d6f5..30f0fb02abe2 100644 > --- a/include/linux/mtd/nand.h > +++ b/include/linux/mtd/nand.h > @@ -12,6 +12,8 @@ > > #include > > +struct nand_device; > + > /** > * struct nand_memory_organization - Memory organization structure > * @bits_per_cell: number of bits per NAND cell > @@ -133,8 +135,6 @@ struct nand_bbt { > unsigned long *cache; > }; > > -struct nand_device; > - > /** > * struct nand_ops - NAND operations > * @erase: erase a specific block. No need to check if the block is bad before _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel