diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-18 21:24:18 +0100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-12-29 08:47:26 +0100 |
commit | d4da3af667d251cc853d1873a1fad4db6daabf5f (patch) | |
tree | fe58b76b85616d931504256ffee1d4818fbbe1d0 /drivers/gpu | |
parent | drm/i915: fix sparse warnings: move 'extern' decls to header file (diff) | |
download | linux-d4da3af667d251cc853d1873a1fad4db6daabf5f.tar.xz linux-d4da3af667d251cc853d1873a1fad4db6daabf5f.zip |
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.c | 4 |
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, intel_clock_t *clock) { if (IS_I9XX(dev)) - return i9xx_clock (refclk, clock); + i9xx_clock (refclk, clock); else - return i8xx_clock (refclk, clock); + i8xx_clock (refclk, clock); } /** |