summaryrefslogtreecommitdiff
path: root/src/radeon_crtc.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-22 18:42:36 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-04-23 11:49:23 -0400
commit0da80f34b5aa5999d2030ffbc5187328fa4e4ae5 (patch)
treefdd5f60373d83a06f0f906f73147d2d07b24da61 /src/radeon_crtc.c
parent1a7b982457ead5f21c6e62a409ca0dbf86005607 (diff)
radeon: minor cleanup and warning fix
Diffstat (limited to 'src/radeon_crtc.c')
-rw-r--r--src/radeon_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index a67d3748..51f361d9 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -181,7 +181,7 @@ RADEONComputePLL(RADEONPLLPtr pll,
}
for (ref_div = min_ref_div; ref_div <= max_ref_div; ++ref_div) {
- uint32_t feedback_div, current_freq, error, vco_diff;
+ uint32_t feedback_div, current_freq = 0, error, vco_diff;
uint32_t pll_in = pll->reference_freq / ref_div;
uint32_t min_feed_div = pll->min_feedback_div;
uint32_t max_feed_div = pll->max_feedback_div+1;