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: 10615955 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3533C175A for ; Wed, 26 Sep 2018 13:15:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1EE662AEE4 for ; Wed, 26 Sep 2018 13:15:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12D752AEF9; Wed, 26 Sep 2018 13:15:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4BD3A2AEE4 for ; Wed, 26 Sep 2018 13:15:12 +0000 (UTC) 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=XCchsqnI43B93fxFg4FlXCoPxu94J0RCctX4AcBUl30=; b=WMz YQk0/c6mS5GgM4Xa7mL4QDm96ivU58uQ+bbcH2iX5biSP7OHea1vbLIm8HNNsLx68OSSpZExQyIC5 plNb6enAVlYYsAd64e2aEZwNjTE+4frRvpJCauNJ79loqE9S9/5CoAAKEg1Gn+dl6b+urU1npIW/S Be4f82BF74mbluvZplxkHWXu9JluhNl0vYexHybUFWTX8KAXBUEbreEuQXpUDnT7qfssvxb/X4y6+ aq9d32jq7/UPbdnQogRiW1454e8Tjq1ECbwyFLPItAWfMJ3WYQhEOdTV4uIBIUJAjTS49eOQKPgoA huHxirzmnJd5psX/te/vpBOKSgNVEMA==; 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 1g59eh-0000t4-Is; Wed, 26 Sep 2018 13:15:03 +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-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: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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);