[Intel-gfx] [PATCH] drm/i915: shut up compiler for unused VLV function

Ben Widawsky ben at bwidawsk.net
Sat Apr 7 02:44:31 CEST 2012


CC: Jesse Barnes <jbarnes at virtuousgeek.org>
Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
---
 drivers/gpu/drm/i915/intel_display.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 3abebb5..30bcc61 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -386,8 +386,8 @@ out_unlock:
 	return val;
 }
 
-static void intel_dpio_write(struct drm_i915_private *dev_priv, int reg,
-			     u32 val)
+static void __used intel_dpio_write(struct drm_i915_private *dev_priv, int reg,
+				    u32 val)
 {
 	unsigned long flags;
 
-- 
1.7.10




More information about the Intel-gfx mailing list