]> Git Repo - J-linux.git/commitdiff
drm: include idr.h from drm_file.h
authorJani Nikula <[email protected]>
Thu, 27 Dec 2018 12:56:38 +0000 (14:56 +0200)
committerJani Nikula <[email protected]>
Wed, 2 Jan 2019 09:37:56 +0000 (11:37 +0200)
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 <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/2818b15332ab562722dfc324cf977b7eb4a04401.1545915059.git.jani.nikula@intel.com
include/drm/drm_file.h

index 84ac79219e4ce64ccf062931b5e323b5cbb789e7..6710b612e2f6f7050eab3885668da34822ef0579 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <linux/types.h>
 #include <linux/completion.h>
+#include <linux/idr.h>
 
 #include <uapi/drm/drm.h>
 
This page took 0.050865 seconds and 4 git commands to generate.