From: Daniel Vetter Date: Wed, 30 Mar 2016 15:54:52 +0000 (+0200) Subject: drm: align #include directives with libdrm in uapi headers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0b1ccd49ba3252c5cbb0ac98ee2a8682b9a529cb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm: align #include directives with libdrm in uapi headers We can't use because that upsets the serach paths in libdrm. Also, drop the circular inclusion in drm_mode.h. v2: Actually change the right headers. v3: Drop the #include removal per Emil's request. Cc: Emil Velikov Reviewed-by: Emil Velikov Signed-off-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/1459353292-9063-1-git-send-email-daniel.vetter@ffwll.ch --- diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 7d42d105f32a..85ada499574b 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h @@ -685,7 +685,7 @@ struct drm_prime_handle { __s32 fd; }; -#include +#include "drm_mode.h" #define DRM_IOCTL_BASE 'd' #define DRM_IO(nr) _IO(DRM_IOCTL_BASE,nr)