]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/mediatek: direct include of drm.h in mtk_drm_gem.c
authorSam Ravnborg <sam@ravnborg.org>
Thu, 18 Jul 2019 16:15:06 +0000 (18:15 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 19 Jul 2019 21:24:17 +0000 (23:24 +0200)
Do not rely on including drm.h from drm_file.h,
as the include in drm_file.h will be dropped.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Sean Paul <sean@poorly.run>
Acked-by: CK Hu <ck.hu@mediatek.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mediatek@lists.infradead.org
Link: https://patchwork.freedesktop.org/patch/msgid/20190718161507.2047-11-sam@ravnborg.org
drivers/gpu/drm/mediatek/mtk_drm_gem.c

index 9434f88c6341ebddc26979e5ef5e1c5d51692c83..ca672f1d140de9792c049de6a6b28d7122c93de3 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <linux/dma-buf.h>
 
+#include <drm/drm.h>
 #include <drm/drm_device.h>
 #include <drm/drm_gem.h>
 #include <drm/drm_prime.h>