drm: add missing include to drm_vram_mm_helper.h
authorSam Ravnborg <sam@ravnborg.org>
Sun, 30 Jun 2019 06:19:19 +0000 (08:19 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 15 Jul 2019 16:11:31 +0000 (18:11 +0200)
The macro DRM_VRAM_MM_FILE_OPERATIONS referencs
functions declared in other header files.
Include these header files so this header files
pulls in what it references.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Link: https://patchwork.freedesktop.org/patch/msgid/20190630061922.7254-31-sam@ravnborg.org
include/drm/drm_vram_mm_helper.h

index a8ffd8599b08579fbf485082d7b2cbd544daa61e..2aacfb1ccfae40a20d03110a8a98e17dcd8c912e 100644 (file)
@@ -3,6 +3,8 @@
 #ifndef DRM_VRAM_MM_HELPER_H
 #define DRM_VRAM_MM_HELPER_H
 
+#include <drm/drm_file.h>
+#include <drm/drm_ioctl.h>
 #include <drm/ttm/ttm_bo_driver.h>
 
 struct drm_device;