drm/i915: intel_overlay_print_error_state() only needed for debugfs (v2)
diff mbox

Message ID 1282780336-9271-1-git-send-email-tobias.doerffel@gmail.com
State New, archived
Headers show

Commit Message

Tobias Doerffel Aug. 25, 2010, 11:52 p.m. UTC
None

Patch
diff mbox

diff --git a/drivers/gpu/drm/i915/intel_overlay.c b/drivers/gpu/drm/i915/intel_overlay.c
index 4f00390..74feb89 100644
--- a/drivers/gpu/drm/i915/intel_overlay.c
+++ b/drivers/gpu/drm/i915/intel_overlay.c
@@ -1461,6 +1461,7 @@  err:
 	return NULL;
 }
 
+#ifdef CONFIG_DEBUG_FS
 void
 intel_overlay_print_error_state(struct seq_file *m, struct intel_overlay_error_state *error)
 {
@@ -1513,3 +1514,4 @@  intel_overlay_print_error_state(struct seq_file *m, struct intel_overlay_error_s
 	P(UVSCALEV);
 #undef P
 }
+#endif	/* CONFIG_DEBUG_FS */