]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef039c2fc4ea8f4c6269e9ae2e03bb8d19b1d219
treeff0f4e7631d46664c5c6b9990a283842b597b8b1
parent1b147b4096ec6166dac80448b2e452a1a44f4d7d
drm/i915: Compile out error state without DEBUG_FS

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>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_overlay.c