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: 147584 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp698719lji; Wed, 26 Sep 2018 06:05:33 -0700 (PDT) X-Google-Smtp-Source: ACcGV61+SevCJY7jS/6STC/2M73XITnVGd7cee86gELHudqfTDUcO/83znNENg2vL1+tlrunQs37 X-Received: by 2002:a17:902:7582:: with SMTP id j2-v6mr6178566pll.76.1537967133289; Wed, 26 Sep 2018 06:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537967133; cv=none; d=google.com; s=arc-20160816; b=MUhQIdvNavHpQapEHMZtcNynBnwM7KwovjlRSbPHjDY/TZ9IURIvbNsff8CFRhNMe6 OnEZtn/3jH/SnuS5kbd9YAmK2ReX9GdJt5KDalMF3doEl78RypLP0j18MiTTnrnuwI57 XcNjWhrBkmr/RX/lIzHoYb8sGaDCvyNNdU8q98FoNnZ4fvpHIZpaEv8gAuowamx0OJf/ 2ccuRyzBqp3my1K6kP5UE8fpuC3P0Y8zwsrqne0a+nEf+QFaJnQL71vR8swkfWFHRYmo 9BvqoQXZWnx3UzxnDkJ2rZNdoei5oNZ7NJLGJPZMGIovN3s0CW/wToJX4utNz6ls8wsj Rlkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=QK2DeZzpJe+Cwqf8Q/HZmgiReRBdsqwZkyKZDfn0X4M=; b=s76aW5DjSRiEpGCqevA4VyFa3cN5BSKwCZFxOnT9L+99CvyoL/pr/SSOJ/g/aQB1CH F77xu6KTAWql2vwy+CDnbVpjPsFHapzEy9dxceCKBomefGJyHHv7M5z46Z0jt66aAeNc /sNJq3/w3Hd8CnxacOB+fA36JqXyPVmGg+5q18ptxTx6dVMegP7jsTuq4+gq9aeNWiTu 0JvAbjNet07lz11zX/svjFENCnyTu/F5J+A3bWSSn/ZhLyupPig2eGO8pF/yy19I0DfT MbtRpbkHWw24q/D1DfKkM6F7EztZ1g/druESLweplUGVxLb7IzI7oKqR6jm0nJCaZIVN y4eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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.33; Wed, 26 Sep 2018 06:05:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728029AbeIZTSX (ORCPT + 32 others); Wed, 26 Sep 2018 15:18:23 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:34965 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726841AbeIZTSW (ORCPT ); Wed, 26 Sep 2018 15:18:22 -0400 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 Cc: Arnd Bergmann , Imre Kaloz , Krzysztof Halasa , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.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:ukSRywdMagk=:g7NFJP+1r1caKMiUdvVi65 sG3r4fvXv41d+ydIZ4fBCDElVgCjd4bPMHcpkEpX9AWYRw3HdWzO9mM8ZMhhOfRAduXHbvGwT dQku4losMvxTCGri5phxYo5iBx7BjhnClLBpg1cqTkKpcUdUzTvP36AXzQChDqO82cGdY9Dyu j9GCINTDVCAuy5RYW2vSI25QP+dhUsHobhMIL552/ATD/fkGza4npXTUPgoWmQBV8T7Vn65/v L3MdcQ9i1KTLUIyxSeDZS9dM7FsC2TYEdBpZWdhP5aQxPDWzV2VfvTjkj/qV4KXH+lkwbMGba QTX+SAeuWJZ09Yl+OV3Yxs1fBTgD8AZVhI6vzVLGEMWw2jJy1h/Iz2QQzEUfFUa632CDJiWxz SJag5CkqWQF5ygL2+vd9aBaRH+7cIMt2nWKuhil8aTErbskV8DqFVhfZjcYDaSvIMWU/WeBI3 DmhSOaP/raY+YAYEGoCdmzvs6BAeC/GfNpDg9CB9RHuAhuzEzhqQkSPRqWRdRDQ6YBIKTTxdC P+lZnMayJYk/846SWZmxItuV863D54xp/9GcTiCsSVSk6WbDxQoe3N6PYgoZec2HOpisBVuw/ zYuhFWZe+6mXDVFlyfKlpQhymvgKs812aXiwDRoeZbyySOhpcvzbg0N5mQY0cRkjl+HfuuUeN MLhIW6cuN19Gm7AGQxrTr85lvWMk2o1Rx4OxY26Dl0xPm+t1hYcthm3Wm4AAPcejUzgk= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- arch/arm/mach-ixp4xx/ixdp425-setup.c | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 Reviewed-by: Miquel Raynal 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