drm/i915: only build i915_debugfs.c when CONFIG_DEBUG_FS is enabled
authorJani Nikula <jani.nikula@intel.com>
Mon, 16 Dec 2013 11:10:36 +0000 (13:10 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 16 Dec 2013 15:53:32 +0000 (16:53 +0100)
commita57750f210ef4dcf271cd24d9b3e2ee0d267ad03
tree65091408bf14687c286bf57e864da1bc657317e6
parentf3c5fe979117908fb642ed130ae2cd78cb005931
drm/i915: only build i915_debugfs.c when CONFIG_DEBUG_FS is enabled

The whole file is wrapped around in #if defined(CONFIG_DEBUG_FS) anyway,
so skip the file at the build level already.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_debugfs.c