summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_file.h
diff options
context:
space:
mode:
authorJani Nikula2018-12-27 13:56:38 +0100
committerJani Nikula2019-01-02 10:37:56 +0100
commit39e23674809b0fab008e32c268d7c5ef4a019c8b (patch)
tree5dfa43006b51af0958c83d8b5080b05d51f85b7f /include/drm/drm_file.h
parentdrm: include kernel.h and agp_backend.h from intel-gtt.h (diff)
downloadkernel-qcow2-linux-39e23674809b0fab008e32c268d7c5ef4a019c8b.tar.gz
kernel-qcow2-linux-39e23674809b0fab008e32c268d7c5ef4a019c8b.tar.xz
kernel-qcow2-linux-39e23674809b0fab008e32c268d7c5ef4a019c8b.zip
drm: include idr.h from drm_file.h
drm_file.h embeds idr structures in DRM-specific structures. Include the corresponding header to make drm_file.h self-contained. Make it easier to drop drmP.h includes. [Updated commit message per Laurent's review while applying.] Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/2818b15332ab562722dfc324cf977b7eb4a04401.1545915059.git.jani.nikula@intel.com
Diffstat (limited to 'include/drm/drm_file.h')
-rw-r--r--include/drm/drm_file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_file.h b/include/drm/drm_file.h
index 84ac79219e4c..6710b612e2f6 100644
--- a/include/drm/drm_file.h
+++ b/include/drm/drm_file.h
@@ -32,6 +32,7 @@
#include <linux/types.h>
#include <linux/completion.h>
+#include <linux/idr.h>
#include <uapi/drm/drm.h>