From 1222ad4188aa2a6046da931487543507a59b7fac Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 16 Jan 2011 21:35:10 +1000 Subject: [PATCH] drm: add comments to stop pointless patches. How about you fix the headers script to be recursive? Signed-off-by: Dave Airlie --- include/drm/drm_mode.h | 3 +++ include/drm/i915_drm.h | 1 + include/drm/mga_drm.h | 1 + include/drm/radeon_drm.h | 1 + include/drm/via_drm.h | 1 + 5 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h index 0fc7397..7a1f6c5 100644 --- a/include/drm/drm_mode.h +++ b/include/drm/drm_mode.h @@ -27,6 +27,9 @@ #ifndef _DRM_MODE_H #define _DRM_MODE_H +/* this file doesn't need linux/types.h included */ +#include "drm.h" + #define DRM_DISPLAY_INFO_LEN 32 #define DRM_CONNECTOR_NAME_LEN 32 #define DRM_DISPLAY_MODE_LEN 32 diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index 0039f1f..0da0420 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i915_drm.h @@ -27,6 +27,7 @@ #ifndef _I915_DRM_H_ #define _I915_DRM_H_ +/* this file doesn't need linux/types.h included */ #include "drm.h" /* Please note that modifications to all structs defined here are diff --git a/include/drm/mga_drm.h b/include/drm/mga_drm.h index c16097f..41b4081 100644 --- a/include/drm/mga_drm.h +++ b/include/drm/mga_drm.h @@ -35,6 +35,7 @@ #ifndef __MGA_DRM_H__ #define __MGA_DRM_H__ +/* this file doesn't need linux/types.h included */ #include "drm.h" /* WARNING: If you change any of these defines, make sure to change the diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index e95a86b..c33f656 100644 --- a/include/drm/radeon_drm.h +++ b/include/drm/radeon_drm.h @@ -33,6 +33,7 @@ #ifndef __RADEON_DRM_H__ #define __RADEON_DRM_H__ +/* this file doesn't need linux/types.h included */ #include "drm.h" /* WARNING: If you change any of these defines, make sure to change the diff --git a/include/drm/via_drm.h b/include/drm/via_drm.h index fd11a5b..ccde589 100644 --- a/include/drm/via_drm.h +++ b/include/drm/via_drm.h @@ -24,6 +24,7 @@ #ifndef _VIA_DRM_H_ #define _VIA_DRM_H_ +/* this file doesn't need linux/types.h included */ #include "drm.h" /* WARNING: These defines must be the same as what the Xserver uses. -- 1.7.2.3