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: 147585 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp698891lji; Wed, 26 Sep 2018 06:05:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV62nKzPlftmEBUrvIr0+kAZLMa4ruuqg7jngBLTdYLSmX5xMXx3ORy9cSJDoWc8VLeIOuH2D X-Received: by 2002:a17:902:9047:: with SMTP id w7-v6mr6049233plz.291.1537967142358; Wed, 26 Sep 2018 06:05:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537967142; cv=none; d=google.com; s=arc-20160816; b=Cz5lt9aYUMG1R+Aj9WAIvPKWG5hUmeJwULhANLPY22RcMZXfQQXRCbBPGcDOPImaab isfAPmEDN700MJjtmnrUrUGALEqEPYifYwjI6PYNt8xTJawMN+yRb5ipDf3f4pnzQnIn njivV1ZlSvuL4jUngkkaBBWdEZu48/7bKZ0VBRF4ziW/LLNnb3cubDqYs52x6HMWDs6X dUl5ag4DcynEgCYuzThnFhmT4Jd6i0svhwK2KuJr78bwBOZ9YWKBVH9U2b0nDuqF3k/g LdF+AqgMaNDGcgX6Oy2bHEh+1rJQtGfNCYZSrRw0XAEGGyCCrwls4CcHMiYQcyIe0AIm MGxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=/7/m5Qhz8ESAZzmTtudbUxVN8ZVpaiHfTcscHIaMlag=; b=yQFk2H35I2XEnmKb0GF+f+c0f/KdMKHZgJw3IaFUEvmt2NZ2Z5vpo1X8wmAfdk7FMs ftX8j2XHkQW//jy458kXcGSe2lWYm78oNgv7Zqx1TfVGWgkGXCArNdAH4Y18o+VAqO33 nq4i9MkOu+XrkrU+a/mIGf7kcA0io9BBrjLD+eM4yAY5HUBrf0Ao5NFYNn0hoOkDZ/cB TsSG5NyzzsrYv/0v3s1xoM0OdhxQBFXT8R5+fUAaLcwl3NKuepUxBUE+ar6uLpI2WPoA qJQi8lX1WmAF276Mcj9KN8uUi2huIou14ZhwX9ZBY/Kr2Cf9gKAgwki9MJ51ERmKIGWC Q/fw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13-v6si5120010pll.337.2018.09.26.06.05.42; Wed, 26 Sep 2018 06:05:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726841AbeIZTSd (ORCPT + 5 others); Wed, 26 Sep 2018 15:18:33 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:58905 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726802AbeIZTSd (ORCPT ); Wed, 26 Sep 2018 15:18:33 -0400 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 Cc: Arnd Bergmann , Aaro Koskinen , Tony Lindgren , Alexander Sverdlin , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.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:HUlBE//1IRk=:Hx9TyCIzXs3DMv9Fk1HIYH lVuUMPycA1c3OwO9ea08jlYq8kgtWqXJ9vUBc0/gl7/g60cX5KKxw0VDkkQX5JbAfo6zgtdZa 3AoUTNyy6n0NZ+KQ0EcOUx9SmR21ceVcfoe51YHT2yLFF96Nwm8A1B66oVfApnrJcpo+7E3Ci bZPcYQo5ZL1e4L96d0a3U9Eb2C+2BjkdrawWT/K44LgGIS86YXHLWBRdQVHpEiU4S4zWe9X2s P0DWLGiLvvITaRjbtnO2qjLvIiid7NxMN3VRPqAQUbtkpqYinSOHMBR3lj7FsVC3EyPr30MU9 BGs6PCXr3ga7ei6HtZYpLyP+NfPZ6u+TglY/cfPvRyWCkEwpjyJhg7lMPUO3Tpgy63auTAsHU SFDzTDuP8hm1pgnzQ7Wb0KG6Hr6MvXV6BGmKn4tqPXS2Tzz2LVjUZGfksN+lj42X4P1WNdR0n GINkyAGikL1Fee84iQtj9JqEjNqmdBXagBxVcYLsKRpvfgVrEpM0XJxoAPoP/xu6AfSpvuDpe sKUvgBLSPyGNpMRbehU2JXh/bOrOUYumhcl43eV7aLXQ/Q2cSN5PRB/HUQIqHjcNNWZu07Trs Cv0P3WEc7fAKR6Di09FtIpBvtXFafcxdJhAM7U7zwaQjvRQPeewq5dU3CJxN7yw/BdK4dLqML PxdIgewNH+6GD3XZY7woKpcbwEqh5dSDKg47PlSMa0m/50ZF5yIoOb0dWnT+mcEH1fD8= Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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(+) -- 2.18.0 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);