[Intel-gfx] [PATCH] drm/i915: shut up compiler for unused VLV function
Jesse Barnes
jbarnes at virtuousgeek.org
Sat Apr 7 22:49:20 CEST 2012
Ben Widawsky <ben at bwidawsk.net> wrote:
>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
I thought Daniel pushed the code that used this... maybe only in queued?
--
Jesse Barnes, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list