OSDN Git Service

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 7f5408c..945bc20 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"