Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3463976imm; Tue, 17 Jul 2018 05:24:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcBleY5P5v9ORgIM8Cq8QPdH1N9sWTNc3fvZKaFjzZGuzTqkV/nosG3CJ9e391Irt1UUyqr X-Received: by 2002:aa7:86d7:: with SMTP id h23-v6mr486629pfo.132.1531830252104; Tue, 17 Jul 2018 05:24:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531830252; cv=none; d=google.com; s=arc-20160816; b=vv8otYu9Pyi/Yu+dNYAayJb8DpksydsLiwJ2xTIKBfs1FVGrkqtWv0YJ4bIsu9Q1yQ LTTAl4iCOM009RYJ+uNbiAI7fqVQTmg9GOqdjBzl+sZKp4r/aC8ZwJEzywKl/1ahyfZP Z3Qb8mawRH2zEuWs5YifEOHGxf38ftZxlZcBquIKHXa/OVukYijjm2UE3zbIeK9YRrrE 7alZQYrrDCAP+ilBM2Kw6QbF2hLPAIm8ZKD1pqzNOKT4hyA3qHLgArluaQIV+p2vwKUc 3HpWb4VH0CIBLo3s8EQlZNuDkLdJWHucUiq3Ez6hQCQCPJMV7LPmosndgDpfXam11NXU ngqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=lWP9m7b+vcMFhzrD5h/3o0/wQVt82MsKRXdQcguKX2Q=; b=ViXAsI+sa6JOmwwS7G/Dp3W6No6wW4KJ+ki0mMInRbSkSdnSK3wD/mZ0f91VsHjin6 KBu1QrjbIhvjB/yl0vY92VVl3Mzoix5RsihFBsT0meKW8WgSeOcct/lo8iEgbdLJA/YY fKkT0a/dxOJo4jovsMdXoOzfZlW+YpJUa+mcCdGyHEHoubqF6OFo1ra75CQlCajeNokd 7WRP2pNnyi0z/5G+sGnqYu2S1KPKIA6jgAaTNqsJjOsvkb6OYNIGxLx3GhUysO5s5lwL 8x+E0DvuTw07oYbniwU9no0z6wlQ72vfojiI3nrVnLb/wUezqUs2QvpHtSVc59rVA/1E j2gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XVX7CYxB; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a17-v6si833689pgb.369.2018.07.17.05.23.56; Tue, 17 Jul 2018 05:24:12 -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=pass header.i=@gmail.com header.s=20161025 header.b=XVX7CYxB; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731382AbeGQMzf (ORCPT + 99 others); Tue, 17 Jul 2018 08:55:35 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:44602 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728330AbeGQMzf (ORCPT ); Tue, 17 Jul 2018 08:55:35 -0400 Received: by mail-ed1-f67.google.com with SMTP id f23-v6so1029924edr.11; Tue, 17 Jul 2018 05:23:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lWP9m7b+vcMFhzrD5h/3o0/wQVt82MsKRXdQcguKX2Q=; b=XVX7CYxB8sT4nfqigd0YJyO2VrzHPQK54qyBZwFMSQQomeF3hb3x0y0QSiYw2FLFbT DutQ1rhRPjksPc5TJvdglAJACLKCrareUJKrq3HiGSoEkDXaZC/5NuVOFTYtPXxmkecA 5tWYpW69tBeMrnFSagVKMmsn0IyWymXZxxwM+p2AvsAgVrW4D//WAm6hdnGxEfKrYhCg Ye0F0GEM3Xd+rehkFq3hLrzHL6rtRdk/vb/O5rWItQH+1qvaUEyEycxYdrxbSNfxm7BD 6zy4aDPX4mKEOxlg86ucdlsIxBHwsGGAqfPAnQY+Pk3xxu7npP2cztzV1urRVFXnx4V8 xiGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lWP9m7b+vcMFhzrD5h/3o0/wQVt82MsKRXdQcguKX2Q=; b=j25OJZxX524wUC6+jDiVKOjSoHSM5tButMbmXD3vVhO3yb8IAIWR5gg7z2fFlcBtiR Mbyo11dLjE4C+ne/zj0BYH6GFjVynFVHIquYGJwQ3SZOFX8A4BAtNVaZADmBAKkHOWkr BTPfDrZhZakbM/YwHhTIPMSH0J6vG5AgvKyt/5kFH7TQ/i0RuBW/x32w6N5/SOXOMp9n GtNx9huL8lGgSTD0I89gaJddcGc78NiuKQgQmuSFJpSflS/gJzdq4CtM3IxJa1zEneyB ZM6l0NuIrbxty71tL71elBeTEuFfUjBC9NkowuQntLVkejRqYx8x6DLS1sigAQHTgAtY FNqg== X-Gm-Message-State: AOUpUlH/2P2A2siGpI36uwe9uJUTigEgexcTwoNGqpgNwMvjnK4iT+So eaPaGi6poCyB9QPdlcG/4Jqnf8JyyxTcHQgy4f+eMA== X-Received: by 2002:a50:fb91:: with SMTP id e17-v6mr2343565edq.308.1531830188208; Tue, 17 Jul 2018 05:23:08 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a50:f988:0:0:0:0:0 with HTTP; Tue, 17 Jul 2018 05:22:37 -0700 (PDT) In-Reply-To: <20180709151947.940759-1-arnd@arndb.de> References: <20180709151947.940759-1-arnd@arndb.de> From: "Lad, Prabhakar" Date: Tue, 17 Jul 2018 13:22:37 +0100 Message-ID: Subject: Re: [PATCH] headers: fix linux/mod_devicetable.h inclusions To: Arnd Bergmann Cc: Randy Dunlap , Greg Kroah-Hartman , Gabriel Somlo , "Michael S. Tsirkin" , Mauro Carvalho Chehab , Stanimir Varbanov , Jean-Christophe Trotin , Zha Qipeng , Darren Hart , Andy Shevchenko , =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= , qemu-devel@nongnu.org, LKML , linux-media , linux-arm-msm@vger.kernel.org, platform-driver-x86@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 9, 2018 at 4:19 PM, 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' > For the above fixes, Acked-by: Lad, Prabhakar Regards, --Prabhakar Lad > This adds the inclusion where needed. > > Fixes: ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h") > Signed-off-by: Arnd Bergmann > --- > 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 >