From patchwork Wed Aug 25 23:52:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Doerffel X-Patchwork-Id: 133331 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o7PNqXbj008698 for ; Wed, 25 Aug 2010 23:53:09 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E9F919EEB2 for ; Wed, 25 Aug 2010 16:52:33 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from jessica.hrz.tu-chemnitz.de (jessica.hrz.tu-chemnitz.de [134.109.132.47]) by gabe.freedesktop.org (Postfix) with ESMTP id 5BB179E756 for ; Wed, 25 Aug 2010 16:52:24 -0700 (PDT) Received: from vpnclient-202-073.hrz.tu-chemnitz.de ([134.109.202.73] helo=nc10.hrz.tu-chemnitz.de) by jessica.hrz.tu-chemnitz.de with esmtpa (Exim 4.69) (envelope-from ) id 1OoPlW-0001Ox-M5; Thu, 26 Aug 2010 01:52:22 +0200 From: Tobias Doerffel To: intel-gfx@lists.freedesktop.org Date: Thu, 26 Aug 2010 01:52:16 +0200 Message-Id: <1282780336-9271-1-git-send-email-tobias.doerffel@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1282776152.3711.23.camel@mattotaupa> References: <1282776152.3711.23.camel@mattotaupa> X-Spam-Score: 0.2 (/) X-Spam-Report: --- Start der SpamAssassin 3.3.1 Textanalyse (0.2 Punkte) Fragen an/questions to: Postmaster TU Chemnitz * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 FREEMAIL_FROM Sender email is freemail * (tobias.doerffel[at]gmail.com) * 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is * CUSTOM_MED * 1.2 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list * 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL --- Ende der SpamAssassin Textanalyse X-Scan-Signature: 2da4cb75faf7b3f12212370ffd4cc0ae Subject: [Intel-gfx] [PATCH] drm/i915: intel_overlay_print_error_state() only needed for debugfs (v2) X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 25 Aug 2010 23:53:09 +0000 (UTC) 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 */