Skip to content

Commit

Permalink
drm: include idr.h from drm_file.h
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jani Nikula committed Jan 2, 2019
1 parent 5c27b9f commit 39e2367
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/drm/drm_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#include <linux/types.h>
#include <linux/completion.h>
#include <linux/idr.h>

#include <uapi/drm/drm.h>

Expand Down

0 comments on commit 39e2367

Please sign in to comment.