OSDN Git Service

headers: fix linux/mod_devicetable.h inclusions
authorArnd Bergmann <arnd@arndb.de>
Mon, 9 Jul 2018 15:19:02 +0000 (17:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jul 2018 06:47:02 +0000 (08:47 +0200)
commit37070d6c940e582a39fd9287e06bb40b9f336184
treeb9fa83342e45b485641b73848287e6d4c29fe868
parent81b18bce48af3e222ca9eebb3b931f59141b7b49
headers: fix linux/mod_devicetable.h inclusions

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@arndb.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/qemu_fw_cfg.c
drivers/media/platform/davinci/vpbe_osd.c
drivers/media/platform/davinci/vpbe_venc.c
drivers/media/platform/qcom/venus/vdec.c
drivers/media/platform/qcom/venus/venc.c
drivers/media/platform/sti/hva/hva-v4l2.c
drivers/platform/x86/intel_punit_ipc.c