[PATCH] fix i915 compile in 2.6.36-rc2

Meelis Roos mroos at linux.ee
Mon Aug 23 03:38:27 PDT 2010


Commit 6ef3d4278034982c13df87c4a51e0445f762d316 introduces seq_file 
usage in intel_overlay.c but does not include the header and now 
compilation fails on i386. Fix it by including the necessary header.

Signed-off-by: Meelis Roos <mroos at linux.ee>

diff --git a/drivers/gpu/drm/i915/intel_overlay.c b/drivers/gpu/drm/i915/intel_overlay.c
index 4f00390..7e4b378 100644
--- a/drivers/gpu/drm/i915/intel_overlay.c
+++ b/drivers/gpu/drm/i915/intel_overlay.c
@@ -25,6 +25,7 @@
  *
  * Derived from Xorg ddx, xf86-video-intel, src/i830_video.c
  */
+#include <linux/seq_file.h>
 #include "drmP.h"
 #include "drm.h"
 #include "i915_drm.h"

-- 
Meelis Roos (mroos at linux.ee)


More information about the dri-devel mailing list