drm/i915: shut up compiler for unused VLV function
Subsystems (2)
PATCH 1/1 drm/i915: shut up compiler for unused VLV function
CC Jesse Barnes <[email protected]>
Signed-off-by Ben Widawsky <[email protected]>
--- drivers/gpu/drm/i915/intel_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_display.c +2 -2
@@ -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;
Signature · 1 line
1.7.10
Quoted 22 lines · Ben Widawsky
CC Jesse Barnes <[email protected]>Signed-off-by Ben Widawsky <[email protected]>---
drivers/gpu/drm/i915/intel_display.c| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/intel_display.c +2
-2@@ -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) {
Quoted 4 lines
unsigned long flags;Signature · 1 line
1.7.10
I thought Daniel pushed the code that used this... maybe only in queued?
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Quoted 26 lines · On Sat, 07 Apr 2012 13:49:20 -0700 Jesse Barnes <[email protected]>…
Quoted 24 lines · Ben Widawsky
CC Jesse Barnes <[email protected]>Signed-off-by Ben Widawsky <[email protected]>---
drivers/gpu/drm/i915/intel_display.c| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/intel_display.c +2
-2@@ -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;
Quoted 5 lines
Quoted 2 lines
Signature · 1 line
1.7.10I thought Daniel pushed the code that used this... maybe only in queued?
Nothing has been pushed. There is code used for the read function...