drm/i915: Compile out error state without DEBUG_FS
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Aug 2010 07:19:30 +0000 (08:19 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:23:55 +0000 (10:23 +0100)
Alexander reported that the compilation of intel_overlay.c was failing
due to an inclusion that was only valid with CONFIG_DEBUG_FS. As the
whole error reporting is only useful with debugfs enabled, remove all
the redundant error state collection code when compiling without
CONFIG_DEBUG_FS.

Reported-by: Alexander Lam <lambchop468@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

No differences found