aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-18 15:24:18 -0500
committerDave Airlie <airlied@linux.ie>2008-12-29 02:47:26 -0500
commitd4da3af667d251cc853d1873a1fad4db6daabf5f (patch)
treefe58b76b85616d931504256ffee1d4818fbbe1d0 /drivers/gpu
parent606df4e024bc8e921dd516cdb7160250658d9b7a (diff)
drm/i915: fix sparse warnings: returning void-valued expression
Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 579dc42a6464..6e8b9ab83e97 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -213,9 +213,9 @@ static void intel_clock(struct drm_device *dev, int refclk,
213 intel_clock_t *clock) 213 intel_clock_t *clock)
214{ 214{
215 if (IS_I9XX(dev)) 215 if (IS_I9XX(dev))
216 return i9xx_clock (refclk, clock); 216 i9xx_clock (refclk, clock);
217 else 217 else
218 return i8xx_clock (refclk, clock); 218 i8xx_clock (refclk, clock);
219} 219}
220 220
221/** 221/**