Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1231280imm; Wed, 11 Jul 2018 20:48:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcQg+ESQL6L3JlClQRB4OQ74uFi9u34b1EnliEswkWvFpz9Z/ZHl87cXP4/CtmWzGHk98x7 X-Received: by 2002:a17:902:1566:: with SMTP id b35-v6mr558842plh.107.1531367335499; Wed, 11 Jul 2018 20:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531367335; cv=none; d=google.com; s=arc-20160816; b=GpWeg0Fl0LH/KJnhSC7ZVsVVTNqz7xiIO5zM53DB0EdyIuHEFARj7Ehe5OK6ol2V6G C29yhxW6EZXTyT1X9vjioT+QrPtMfH4wU+KrisdkuzfDUFXtQ3jpPic0COL7RzQK2rHs OkphuYjtLjngyl5L49rNbIP9d6ddNrIF5sD8hbhmj+5J2WpIqD3s5mDafHTWf3b6ypy3 LGeHlPc5dc/wCKhkfkmmtbxs2q8dHLwNzPDt6FDjLF3aGo6TJVxRWLGcoML6tmAYm5XO MaUF/oY9bq+mv5HNwukSfPByI2uZyietWAYLUruO9z6XOXL/hRGWpOTVB9/lbyd+punf sCyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=1zZ/qMwuazyL3fOAF2SvnSRT9tiIC6FgYYrse4LXR28=; b=yTcl1uDQ7cMyDjR9LpFjHZHRxx3A5NYCtMj/V1V7/KH4EfrXB/+pDuNb/8+kEFal9L WiOx7E1ea4nWN6IzAaA7I6s3ddyuwByHNa8iXnx5E3bRnKTo+5lS6Y6lJywEqfLZIVaW iTB/e5xCCTgm0Pl9UlJAlwlzVZrLcjAihcHcOYuhAje1oZO7Jrx47yN65whj66lfkApP HYGeo3Jr+Dh3deMiC9D7OEDOXCz7wPV8fhJWzNcn19bqOLymoDIZ3P9MnwSA2q+w+EQX 7I814FLdQncl/T64S+E2dQphW6zoJrCrgyfIKKCLmvnVy32x4Fc7ZI9LR2IYXEAIwM2v Bq4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kW4e8Psr; 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 p4-v6si6380587pll.42.2018.07.11.20.48.27; Wed, 11 Jul 2018 20:48:55 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kW4e8Psr; 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 S1726603AbeGLDzH (ORCPT + 99 others); Wed, 11 Jul 2018 23:55:07 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36326 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726492AbeGLDzH (ORCPT ); Wed, 11 Jul 2018 23:55:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1zZ/qMwuazyL3fOAF2SvnSRT9tiIC6FgYYrse4LXR28=; b=kW4e8PsrxDWQObtaLHfUQn2fy zeg1HSA9MfuMIO8KEzJ5hgN2DFgtK55gF4ij+68hjIx2uvt/IowNcZjmcxY6wGwhwMDuQPsV2hRlp 2vmKWXRoD4ISkCN2shEAGGSphbWr4IfQvrk+T6hR/Umr3y3cHM4yYX+3TuTUtC4arC8//sW26gxbz RE1wh3GFMZu+KbFCcycA6IuW6CiGBrd1+vHhooklJm0E1iYfsbIqHjhhdl3j+NSRrj04fWI/WD8+Q UpHMEkK34iav/EMja6S0NAlqzmKL2rLiEFaelQ4J7PT+MjCYklLRAka/uJd+l6hC6lvWpvjBBJFEV 7DoTMDhhA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdSZl-0003Pe-Nb; Thu, 12 Jul 2018 03:47:29 +0000 Subject: Re: [PATCH] headers: fix linux/mod_devicetable.h inclusions To: Arnd Bergmann , Greg Kroah-Hartman Cc: Gabriel Somlo , "Michael S. Tsirkin" , "Lad, Prabhakar" , Mauro Carvalho Chehab , Stanimir Varbanov , Jean-Christophe Trotin , Zha Qipeng , Darren Hart , Andy Shevchenko , =?UTF-8?Q?Marc-Andr=c3=a9_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 References: <20180709151947.940759-1-arnd@arndb.de> From: Randy Dunlap Message-ID: Date: Wed, 11 Jul 2018 20:47:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180709151947.940759-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/09/2018 08:19 AM, 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: Randy Dunlap Thanks. > --- > 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 > -- ~Randy