summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorArnd Bergmann2018-07-09 17:19:02 +0200
committerGreg Kroah-Hartman2018-07-10 08:47:02 +0200
commit37070d6c940e582a39fd9287e06bb40b9f336184 (patch)
treeb9fa83342e45b485641b73848287e6d4c29fe868 /drivers/firmware
parentDrivers: HV: Send one page worth of kmsg dump over Hyper-V during panic (diff)
downloadkernel-qcow2-linux-37070d6c940e582a39fd9287e06bb40b9f336184.tar.gz
kernel-qcow2-linux-37070d6c940e582a39fd9287e06bb40b9f336184.tar.xz
kernel-qcow2-linux-37070d6c940e582a39fd9287e06bb40b9f336184.zip
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>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/qemu_fw_cfg.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/module.h>
+#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include <linux/acpi.h>
#include <linux/slab.h>