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@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"
On Mon, 23 Aug 2010 13:38:27 +0300 (EEST), Meelis Roos mroos@linux.ee wrote:
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@linux.ee
Acked-by: Chris Wilson chris@chris-wilson.co.uk
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...
On Mon, 23 Aug 2010 13:38:27 +0300 (EEST), Meelis Roos mroos@linux.ee wrote:
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@linux.ee
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@lists.freedesktop.org