From patchwork Wed Sep 26 13:04:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 975087 X-Patchwork-Delegate: miquel.raynal@bootlin.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QfB4N5n2"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42Kz1T1DRfz9s1c for ; Wed, 26 Sep 2018 23:14:37 +1000 (AEST) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=c4nkk37krn6spNTceyD/PIX0npZU+KnFh3tb+bD0W2M=; b=QfB 4N5n2Vbel734iaeTp1xOllPvo5P2zssprLVSlGasz/MMaQFePTElAAMCHO+WglosE4CJGOsUVg/Fh 7utXsB3pMt593j5p3pjEjjYSCes82Tr/3cs8vBlKhZRkx4X0ZXn7LNf6zEJlqrdGMcDgxNEiexM63 0+BxhxRz6OpWAkbaCBohTKQTAkXnKb7fR5qVgabx/747VA8u4C54+vEv95nRGzHyegIN9FGkeLZCr 7yMdtTCsiidChOvdrhHUg00Kwv0FjSL9yBV9+ydOMgVdb6omp5kfPMn99D+0l3xFsqLDzOpHlXpDL PZcSfOYOqy+wCPqpGRd/WGGISTzA6xg==; 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 1g59e6-0000aw-Vy; Wed, 26 Sep 2018 13:14:26 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g59c1-000062-2N; Wed, 26 Sep 2018 13:12:28 +0000 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1M6YEz-1g76Mm1W6j-006uFm; Wed, 26 Sep 2018 15:05:01 +0200 From: Arnd Bergmann To: Boris Brezillon , Miquel Raynal , linux-mtd@lists.infradead.org Subject: [PATCH 1/2] ARM: omap1: add nand_chip declaration Date: Wed, 26 Sep 2018 15:04:38 +0200 Message-Id: <20180926130458.2406549-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:m5iUF1QnVkusghXWgP4SqCCellrpwKLxVclQJ9DBo7UN+pqJT+H u2OnBUP29prUHouYz0Z4G8YvYiYL4PP4pOAvzzeieaJKfZ00Vwrik26hdxhM7O0gWD7xu60 AtbTOswXyzzgirz63jaG3Osb3ImUq+/xxktvZo50vq39xLVmTO3Vog+7rH7/ogpvwxnde2p TFXgSlNSp3pJsXwLynSww== X-UI-Out-Filterresults: notjunk:1; V01:K0:87/4/n+V+MY=:e8klGqCpp9ToHt0BH4evtk h64jyP0KCPZy7sKpZGdglCaycARw6BgbDfh1LRAvvi8E9dYKBB4sSKbZJ/54/jzxUK5uZOb84 dyNe/n2AV37th4NxXQLC6Vdr46dIVHVUqWfMQoIctCFt6DdlBmC+5jDqw4c1Gp0Lnb5iS73Lm pDLt08EOc9W9bKBvYmiF/u8zcH+vhkpSjIEUlGhfdtNq/LmEtDSxDxn/fqWTsxT30qN5mt21k kRonR5IxNHhbjyCqTysEdzBXUS0w3hIYLn4JzsQ90iQ0WZ5vwcyqDiVJEgcxjN7BlkH9Bv2GW JuPBFntQs6rkxly9GIvomOikgUmdth3QPQb+WzY+dTdP6C5RiP+BZNlPR9m0mCrFBim++19nS dojmaKQUyjAa9HZCIf+OB6e8SIZCEYPpQuu9ILBnOPONpqgyFq2h3k+nP+PzsvxH0HuYOKdl5 fHBTj850dCoRMFw3VsalWKa2V6Jp1j906oimMD0Bz23rh9TP2t9vXEOjVkviprSmsDf6MGsK8 DpgNXoQKtDHcDFR5uD1b9VpduFf6lKf0fcFKFbWPmSY7+QMeImilK1PDpGxfJMK1Yv6MWo6oo eJ6LNt7mJp8PFCPmXtAszDb7UgZxDVGOPXjHx3FsjTJ9wjJf41GOgBsvNrVQGgi0CLCosWrBQ lLjymSpe43bYAuw3Y6hUalMlWKlfH4YB1Q+2tjtV6mdBiyBVmzVq5JYfI/S5WSvoWdwo= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180926_061217_447892_FA58C082 X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.134 listed in list.dnswl.org] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Aaro Koskinen , Tony Lindgren , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Alexander Sverdlin , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org 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 --- arch/arm/mach-omap1/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap1/common.h b/arch/arm/mach-omap1/common.h index 11b87a4c84d4..82f2c065040a 100644 --- a/arch/arm/mach-omap1/common.h +++ b/arch/arm/mach-omap1/common.h @@ -82,6 +82,7 @@ void omap1_restart(enum reboot_mode, const char *); extern void __init omap_check_revision(void); +struct nand_chip; extern void omap1_nand_cmd_ctl(struct nand_chip *this, int cmd, unsigned int ctrl); From patchwork Wed Sep 26 13:04:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 975084 X-Patchwork-Delegate: miquel.raynal@bootlin.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BWthT3wy"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42Kyz15Gwmz9s1c for ; Wed, 26 Sep 2018 23:12:27 +1000 (AEST) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=vLwNuX5B3foTZ8sVTkOCXz7EbX6WRMCchtrrOrN/iZE=; b=BWthT3wyGa2YagARyi2gxxptUB TEfSuE5rjVkBhFKUALUp85/b1d1oboDHCd5TBEqCr7IOSSZvlOcdvn8QGCyuNz2012XHfFqYKNf1i yHt9bj8+WWbKCU0Z8dDMpxpkH6s3hJDSbSDgsJdmZqBuf2f83JOT7ycSH4Dma+9raM5x0n+dEOKhB zb2a2ejr2Ak8aB4MXnjx0YjWb9zdnK6heGRO0R/6t0Df/5D9Hx/6heKRcsn4m/tBoJNS4TrBeuwHt yg/QMdyv4ULlLdsUwb/z4H5xD704kVc5uHCqmvWHMWwcr5AXOWhNr2xqJAa/fQpf8UErPiGw3r4t/ zD61PzsQ==; 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 1g59bt-0008UI-Rf; Wed, 26 Sep 2018 13:12:09 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g59au-0008KG-KX; Wed, 26 Sep 2018 13:11:10 +0000 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1MKMIR-1gKu2S301f-00LniG; Wed, 26 Sep 2018 15:05:27 +0200 From: Arnd Bergmann To: Boris Brezillon , Miquel Raynal , linux-mtd@lists.infradead.org Subject: [PATCH 2/2] ARM: ixp4xx: include linux/mtd/platnand.h Date: Wed, 26 Sep 2018 15:04:39 +0200 Message-Id: <20180926130458.2406549-2-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180926130458.2406549-1-arnd@arndb.de> References: <20180926130458.2406549-1-arnd@arndb.de> X-Provags-ID: V03:K1:eesi5L5oJRNUXfWq2ccLh2og1C9GMWU0FkGZdoVipVyHPt9fW6w oE+VoAxq4XVMNQhPapgsIuxwuQ15b1HTAglY0QXFnOgxP90+tFx3CGH0SS4n7Pz/p85zNrM IqJ0UO7TGIlZ7nOjyCgS/aK425+HK3xeHJiRwzUgC2GxNYz5inTgmJdpNrVoFgbAmG/YpA6 yDcPpnrrrsmggcCzaeuMg== X-UI-Out-Filterresults: notjunk:1; V01:K0:8PvwcZJDBZI=:JS3a0gJ1rY4y3mpjSLUHkx +CkRjLqt5v6Q6R4G30d0P+qdymJ2kgBulYknoELUa1ITRs22wFRCBvRcm3i9Y/IBEFDHrEbmb cQ3UtC4PNVMwv2GoEB6rvlnZia2zXjuMTGL34NSGgT1AySIzqRxq3WTT/VQXnhyM+mBXeFNLN x09hos8k/Frsatr7IhI+CUhmj9O94LQwstc4w1mijX+IehTJ6vuWFEJvl/SL/i6HJ+ZNOBfbS qc3u0qeSMwrT52Ye1YWnqSPBnc0epGhQimfGUNuCMVC/D/urty32I2/OpXdeSdfzKC42LF1u3 nZlMLHtID9ZLcZTheToJR/HJ7QNs8NpcZeeiToNFzzCklTiBBxACI55n77qb2r+dqqAryi42V 91vZx/ovt3o9xHSVcjyneGyCuJaJwFV+Fz4IuZZ+PmCtsZlfHRg4cZtVCF5TDkOqF5EkkfGxh 0yX9iY57RQt9dj5N/p3GCYSfV6CIgUjzbXPFsGBq8hoFYSjKyDIGPaco4uKWNX9ASg8Jt5Zex 6WFo2x7l8NSqia3BaIn/9/2x13e6XTJDucO6WMYXsmi6EkJmuJMcEpNdVwHbDkRGR9E8LsJO0 6qHu/taDd8joae1KuK0ydlbdqUxiy0GXXWz5xz1AGI10V2Ffw3TDG/b6L+5TuQ326wEGLz0T6 XwilND/34yNUZTHRzSpJyLm8V3Flwv8qInO/tkDe2hayq5QEGkhgBiF29g4B+uhZjXPQ= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180926_061108_986038_A9B74CAC X-CRM114-Status: GOOD ( 10.31 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.131 listed in list.dnswl.org] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Linus Walleij , linux-kernel@vger.kernel.org, Krzysztof Halasa , Imre Kaloz , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The platform_nand_data structure definition is required for ixdp425 but has now moved to a new header file: arch/arm/mach-ixp4xx/ixdp425-setup.c:98:15: error: variable 'ixdp425_flash_nand_data' has initializer but incomplete type static struct platform_nand_data ixdp425_flash_nand_data = { ^~~~~~~~~~~~~~~~~~ arch/arm/mach-ixp4xx/ixdp425-setup.c:99:3: error: 'struct platform_nand_data' has no member named 'chip' Fixes: 19cf5dfa3a31 ("mtd: rawnand: Move platform_nand_xxx definitions out of rawnand.h") Signed-off-by: Arnd Bergmann Reviewed-by: Miquel Raynal Acked-by: Krzysztof Halasa --- arch/arm/mach-ixp4xx/ixdp425-setup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-ixp4xx/ixdp425-setup.c b/arch/arm/mach-ixp4xx/ixdp425-setup.c index 797e7edc7124..57d7df79d838 100644 --- a/arch/arm/mach-ixp4xx/ixdp425-setup.c +++ b/arch/arm/mach-ixp4xx/ixdp425-setup.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include