diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-10-20 07:55:28 +0900 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-23 11:31:25 -0700 |
commit | fe798b9718bea5c48938fc38fa78ae9503b8de6c (patch) | |
tree | 1b3f0e3220c94bd56b24d07677e2aed653f4492b /drivers/gpu | |
parent | 629598da932cfa5ff398fe10bc123282a6f3049e (diff) | |
download | linux-fe798b9718bea5c48938fc38fa78ae9503b8de6c.tar.bz2 |
drm/i915: kill warning in intel_find_pll_g4x_dp
Initialize clock.vco to silence gcc.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 7eed3db5451d..3ba6546b7c7f 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -943,6 +943,7 @@ intel_find_pll_g4x_dp(const intel_limit_t *limit, struct drm_crtc *crtc, clock.m = 5 * (clock.m1 + 2) + (clock.m2 + 2); clock.p = (clock.p1 * clock.p2); clock.dot = 96000 * clock.m / (clock.n + 2) / clock.p; + clock.vco = 0; memcpy(best_clock, &clock, sizeof(intel_clock_t)); return true; } |