diff options
author | Sam Ravnborg <[email protected]> | 2019-05-26 19:35:29 +0200 |
---|---|---|
committer | Sam Ravnborg <[email protected]> | 2019-05-27 18:05:44 +0200 |
commit | 2197f55f462dc776312fada027d45d52bd12749c (patch) | |
tree | fdad9f24217e87bf8c1c539da28b26b9086171c0 | |
parent | 182c58ab2e5b654c2ffd1e959311173cb3bc70b1 (diff) |
drm: make drm/drm_auth.h self contained
Do not require users of include/drm/drm_auth.h to include
other files just to let it build.
Signed-off-by: Sam Ravnborg <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: David Airlie <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | include/drm/drm_auth.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/drm/drm_auth.h b/include/drm/drm_auth.h index 871008118bab..6bf8b2b78991 100644 --- a/include/drm/drm_auth.h +++ b/include/drm/drm_auth.h @@ -1,3 +1,6 @@ +#ifndef _DRM_AUTH_H_ +#define _DRM_AUTH_H_ + /* * Internal Header for the Direct Rendering Manager * @@ -25,8 +28,12 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef _DRM_AUTH_H_ -#define _DRM_AUTH_H_ +#include <linux/idr.h> +#include <linux/kref.h> +#include <linux/wait.h> + +struct drm_file; +struct drm_hw_lock; /* * Legacy DRI1 locking data structure. Only here instead of in drm_legacy.h for |