[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75VdHZ4jCMLZn3RwhQ3ZCabZVsPMMUUOeXLvKT1y=m_z+WQ@mail.gmail.com>
Date: Wed, 18 Jul 2018 00:37:05 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Randy Dunlap <rdunlap@...radead.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Gabriel Somlo <somlo@....edu>,
"Michael S. Tsirkin" <mst@...hat.com>,
"Lad, Prabhakar" <prabhakar.csengg@...il.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Stanimir Varbanov <stanimir.varbanov@...aro.org>,
Jean-Christophe Trotin <jean-christophe.trotin@...com>,
Zha Qipeng <qipeng.zha@...el.com>,
Darren Hart <dvhart@...radead.org>,
Andy Shevchenko <andy@...radead.org>,
Marc-André Lureau <marcandre.lureau@...hat.com>,
qemu-devel@...gnu.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Media Mailing List <linux-media@...r.kernel.org>,
linux-arm-msm@...r.kernel.org,
Platform Driver <platform-driver-x86@...r.kernel.org>
Subject: Re: [PATCH] headers: fix linux/mod_devicetable.h inclusions
On Mon, Jul 9, 2018 at 6:19 PM, Arnd Bergmann <arnd@...db.de> 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 <arnd@...db.de>
> drivers/platform/x86/intel_punit_ipc.c | 1 +
> --- a/drivers/platform/x86/intel_punit_ipc.c
> +++ b/drivers/platform/x86/intel_punit_ipc.c
> @@ -12,6 +12,7 @@
> */
>
> #include <linux/module.h>
> +#include <linux/mod_devicetable.h>
> #include <linux/acpi.h>
> #include <linux/delay.h>
> #include <linux/bitops.h>
Acked-by: Andy Shevchenko <andy.shevchenko@...il.com>
for the above bits.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists