Commit c388088a authored by Jani Nikula's avatar Jani Nikula Committed by Qiang Yu

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 <>
Cc: Daniel Vetter <>
Cc: Laurent Pinchart <>
Reviewed-by: Daniel Vetter's avatarDaniel Vetter <>
Reviewed-by: Laurent Pinchart's avatarLaurent Pinchart <>
Signed-off-by: Jani Nikula's avatarJani Nikula <>
parent 4d159f08
......@@ -32,6 +32,7 @@
#include <linux/types.h>
#include <linux/completion.h>
#include <linux/idr.h>
#include <uapi/drm/drm.h>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment