Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/mediatek: direct include of drm.h in mtk_drm_gem.c

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

+1
+1
drivers/gpu/drm/mediatek/mtk_drm_gem.c
··· 5 5 6 6 #include <linux/dma-buf.h> 7 7 8 + #include <drm/drm.h> 8 9 #include <drm/drm_device.h> 9 10 #include <drm/drm_gem.h> 10 11 #include <drm/drm_prime.h>