From: Sam Ravnborg Date: Sun, 26 May 2019 17:35:29 +0000 (+0200) Subject: drm: make drm/drm_auth.h self contained X-Git-Tag: v5.4-rc1~498^2~27^2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2197f55f462dc776312fada027d45d52bd12749c;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Daniel Vetter Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Link: https://patchwork.freedesktop.org/patch/msgid/20190526173535.32701-2-sam@ravnborg.org --- diff --git a/include/drm/drm_auth.h b/include/drm/drm_auth.h index 8710081..6bf8b2b 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 +#include +#include + +struct drm_file; +struct drm_hw_lock; /* * Legacy DRI1 locking data structure. Only here instead of in drm_legacy.h for