Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp799045imm; Mon, 9 Jul 2018 10:50:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdbiqoW0caOUN/XaI4rNySEWCOiuNl4ZkYiY1+vA+ke9Fx6HG+/XmQcSzbiqF4PdOCOPXS/ X-Received: by 2002:a62:cd3:: with SMTP id 80-v6mr15226391pfm.184.1531158620588; Mon, 09 Jul 2018 10:50:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531158620; cv=none; d=google.com; s=arc-20160816; b=FvIjSHsfrqS9BNN4ms6UZXH1EBqLvvd8qpmlzKnVpvBUUStI+ekqq1JPz992I7MwIO qechQIWHV4WAMm9I/Dau52FWtpfOezKwsAe1HTts1Yh3BN8LTw3nq/+gHBbc/hl4vq+A oqmOwmoSKWz0QrNXWd8cZykr0T34yOhTrM8wRKYUXiyzj5QHT9j5x2IsL9MHuQ34UwEP 0CxHmqXPZA2BQuVBB3qdK/xBagXXkoPJ54roUFJNyfyngXTESbMn6Gl/2fm4zdZsj18p yV40opnYLRPo3gbUDvDmairUUG9cdY0ii79+FpoFkO4HHf0EWkt4BeUEuE6jmeCunz4h oqkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=FAxzmy7IG+4OeCl3st9X9HxZYcA3eqyaE0Gr+D11Ma0=; b=U2tWD6kO+AS14jbXSbNe+UaKPk6X+ssYCHv6Wf+KXtC7Dz2vVYb5oF2MeZITwDBK9g VZ2boq8UkrKSrgQ1468aAF0kms/w6vx6oJAaN5DIKmDMHTAT86GZ+pTvYpR2ldl7mqvj bG+ZSCfZSDQPf6hAGTWpJr1pn8HLxyF+wg+szYt+T8xZW/VS08FTl/Z4Sel6v8y547EE vUPwt8GA9ruTrU8pjmNSBUlaUSfxn+J4aAEWqfk/hC/Lu5B9J/CZ5mZSqeMguZ7fRKuX +eE7DCb7q7WxrjoEAU3JHhEILJTV0Zcj5yJn5ePAXQn0osZEedtXZRoD054hM638NS6Q BsuQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v8-v6si259377pff.248.2018.07.09.10.49.59; Mon, 09 Jul 2018 10:50:20 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933973AbeGIRr5 (ORCPT + 99 others); Mon, 9 Jul 2018 13:47:57 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:59656 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933537AbeGIRrz (ORCPT ); Mon, 9 Jul 2018 13:47:55 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DC4D04001389; Mon, 9 Jul 2018 17:47:54 +0000 (UTC) Received: from redhat.com (ovpn-120-201.rdu2.redhat.com [10.10.120.201]) by smtp.corp.redhat.com (Postfix) with SMTP id B50872026D65; Mon, 9 Jul 2018 17:47:52 +0000 (UTC) Date: Mon, 9 Jul 2018 20:47:52 +0300 From: "Michael S. Tsirkin" To: Arnd Bergmann Cc: Randy Dunlap , Greg Kroah-Hartman , Gabriel Somlo , "Lad, Prabhakar" , Mauro Carvalho Chehab , Stanimir Varbanov , Jean-Christophe Trotin , Zha Qipeng , Darren Hart , Andy Shevchenko , =?iso-8859-1?Q?Marc-Andr=E9?= Lureau , qemu-devel@nongnu.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, platform-driver-x86@vger.kernel.org Subject: Re: [PATCH] headers: fix linux/mod_devicetable.h inclusions Message-ID: <20180709204747-mutt-send-email-mst@kernel.org> References: <20180709151947.940759-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180709151947.940759-1-arnd@arndb.de> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Mon, 09 Jul 2018 17:47:54 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Mon, 09 Jul 2018 17:47:54 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mst@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 09, 2018 at 05:19:02PM +0200, Arnd Bergmann wrote: > A couple of drivers produced build errors after the mod_devicetable.h > header was split out from the platform_device one, e.g. > > drivers/media/platform/davinci/vpbe_osd.c:42:40: error: array type has incomplete element type 'struct platform_device_id' > drivers/media/platform/davinci/vpbe_venc.c:42:40: error: array type has incomplete element type 'struct platform_device_id' > > This adds the inclusion where needed. > > Fixes: ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h") > Signed-off-by: Arnd Bergmann Acked-by: Michael S. Tsirkin > --- > drivers/firmware/qemu_fw_cfg.c | 1 + > drivers/media/platform/davinci/vpbe_osd.c | 1 + > drivers/media/platform/davinci/vpbe_venc.c | 1 + > drivers/media/platform/qcom/venus/vdec.c | 1 + > drivers/media/platform/qcom/venus/venc.c | 1 + > drivers/media/platform/sti/hva/hva-v4l2.c | 1 + > drivers/platform/x86/intel_punit_ipc.c | 1 + > 7 files changed, 7 insertions(+) > > diff --git a/drivers/firmware/qemu_fw_cfg.c b/drivers/firmware/qemu_fw_cfg.c > index 14fedbeca724..039e0f91dba8 100644 > --- a/drivers/firmware/qemu_fw_cfg.c > +++ b/drivers/firmware/qemu_fw_cfg.c > @@ -28,6 +28,7 @@ > */ > > #include > +#include > #include > #include > #include > diff --git a/drivers/media/platform/davinci/vpbe_osd.c b/drivers/media/platform/davinci/vpbe_osd.c > index 7f610320426d..c551a25d90d9 100644 > --- a/drivers/media/platform/davinci/vpbe_osd.c > +++ b/drivers/media/platform/davinci/vpbe_osd.c > @@ -18,6 +18,7 @@ > * > */ > #include > +#include > #include > #include > #include > diff --git a/drivers/media/platform/davinci/vpbe_venc.c b/drivers/media/platform/davinci/vpbe_venc.c > index ba157827192c..ddcad7b3e76c 100644 > --- a/drivers/media/platform/davinci/vpbe_venc.c > +++ b/drivers/media/platform/davinci/vpbe_venc.c > @@ -11,6 +11,7 @@ > * GNU General Public License for more details. > */ > #include > +#include > #include > #include > #include > diff --git a/drivers/media/platform/qcom/venus/vdec.c b/drivers/media/platform/qcom/venus/vdec.c > index f89a91d43cc9..d4e23c7df347 100644 > --- a/drivers/media/platform/qcom/venus/vdec.c > +++ b/drivers/media/platform/qcom/venus/vdec.c > @@ -14,6 +14,7 @@ > */ > #include > #include > +#include > #include > #include > #include > diff --git a/drivers/media/platform/qcom/venus/venc.c b/drivers/media/platform/qcom/venus/venc.c > index f7a87a3dbb46..0522cf202b75 100644 > --- a/drivers/media/platform/qcom/venus/venc.c > +++ b/drivers/media/platform/qcom/venus/venc.c > @@ -14,6 +14,7 @@ > */ > #include > #include > +#include > #include > #include > #include > diff --git a/drivers/media/platform/sti/hva/hva-v4l2.c b/drivers/media/platform/sti/hva/hva-v4l2.c > index 15080cb00fa7..5a807c7c5e79 100644 > --- a/drivers/media/platform/sti/hva/hva-v4l2.c > +++ b/drivers/media/platform/sti/hva/hva-v4l2.c > @@ -6,6 +6,7 @@ > */ > > #include > +#include > #include > #include > #include > diff --git a/drivers/platform/x86/intel_punit_ipc.c b/drivers/platform/x86/intel_punit_ipc.c > index b5b890127479..f1afc0ebbc68 100644 > --- a/drivers/platform/x86/intel_punit_ipc.c > +++ b/drivers/platform/x86/intel_punit_ipc.c > @@ -12,6 +12,7 @@ > */ > > #include > +#include > #include > #include > #include > -- > 2.9.0