drm: include idr.h from drm_file.h
authorJani Nikula <jani.nikula@intel.com>
Thu, 27 Dec 2018 12:56:38 +0000 (14:56 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 2 Jan 2019 09:37:56 +0000 (11:37 +0200)
commit39e23674809b0fab008e32c268d7c5ef4a019c8b
tree5dfa43006b51af0958c83d8b5080b05d51f85b7f
parent5c27b9fafeadc919fd58a3b4fbd718a1cb7b1b1a
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
include/drm/drm_file.h