[PATCH]: i915: Fix missing linux/types.h warning in header

Prarit Bhargava prarit at redhat.com
Thu May 27 08:23:54 PDT 2010


Fixes warning:

/usr/include/drm/i915_drm.h:119: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Prarit Bhargava <prarit at redhat.com>

diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index b64a8d7..5cf7f5b 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_
 
+#include <linux/types.h>
 #include "drm.h"
 
 /* Please note that modifications to all structs defined here are


More information about the dri-devel mailing list