Merge tag 'topic/drmp-cleanup-2019-01-02' of git://anongit.freedesktop.org/drm/drm...
authorMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 7 Jan 2019 15:43:24 +0000 (16:43 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 7 Jan 2019 15:43:24 +0000 (16:43 +0100)
Make some drm headers self-contained with includes and forward declarations

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
# gpg: Signature made Wed 02 Jan 2019 10:47:51 AM CET
# gpg:                using RSA key 1565A65B77B0632E1124E59CD398079D26ABEE6F
# gpg: Can't check signature: No public key
From: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/87pntfl6pa.fsf@intel.com
1  2 
include/drm/drm_syncobj.h

index 7c6ed845c70dc8824d8394138f603154f2dc6e12,ef57215126328ba619c6d83a0ca4cc08eb057b44..0311c9fdbd2f2107ba39cf40dd64a0f97641b416
  #ifndef __DRM_SYNCOBJ_H__
  #define __DRM_SYNCOBJ_H__
  
- #include "linux/dma-fence.h"
+ #include <linux/dma-fence.h>
+ struct drm_file;
  
 -struct drm_syncobj_cb;
 -
 -enum drm_syncobj_type {
 -      DRM_SYNCOBJ_TYPE_BINARY,
 -      DRM_SYNCOBJ_TYPE_TIMELINE
 -};
 -
  /**
   * struct drm_syncobj - sync object.
   *