Skip to contentSkip to conversation

fix i915 compile in 2.6.36-rc2

PATCH Applied Meelis Roos 3 participants 3 messages Aug 23, 2010 – Aug 30, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix i915 compile in 2.6.36-rc2

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.

drivers/gpu/drm/i915/intel_overlay.c +1 -0
index 4f00390..7e4b378 100644
@@ -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"
Signature · 1 line
Meelis Roos ([email protected])
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Meelis Roos

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.

I have a pending patch to compile out this code when DEBUG_FS is not used which is the root cause of the compilation failure. That is a little more invasive than this simple patch...

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
Applied
#2 lore raw
In reply to Meelis Roos
Quoted 5 lines · Meelis Roos

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.

Applied. Thanks!

(sorry for the delay on this, guys. I swear someone had sent one of these to Linus directly, and every time that happens and I apply it anyway, he's already pulled it. So I've been off in userland work instead).

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel