]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
drm/mediatek: include dma-mapping header
authorDave Airlie <airlied@redhat.com>
Sat, 24 Aug 2019 05:07:07 +0000 (15:07 +1000)
committerDave Airlie <airlied@redhat.com>
Sat, 24 Aug 2019 05:09:20 +0000 (15:09 +1000)
Although it builds fine here in my arm cross compile, it seems
either via some other patches in -next or some Kconfig combination,
this fails to build for everyone.

Include linux/dma-mapping.h should fix it.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/mediatek/mtk_drm_drv.c

index 7f5408cb23778c32eca0b15347f7415808eb4bd7..945bc20f1d33f0d5aada0a7d9d7c0e52fb15c28a 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/of_address.h>
 #include <linux/of_platform.h>
 #include <linux/pm_runtime.h>
+#include <linux/dma-mapping.h>
 
 #include "mtk_drm_crtc.h"
 #include "mtk_drm_ddp.h"