diff options
Diffstat (limited to 'drivers/video/riva')
-rw-r--r-- | drivers/video/riva/riva_hw.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/video/riva/riva_hw.c b/drivers/video/riva/riva_hw.c index 70bfd78eca81..13307703a9f0 100644 --- a/drivers/video/riva/riva_hw.c +++ b/drivers/video/riva/riva_hw.c | |||
@@ -1223,6 +1223,8 @@ static int CalcVClock | |||
1223 | } | 1223 | } |
1224 | } | 1224 | } |
1225 | } | 1225 | } |
1226 | |||
1227 | /* non-zero: M/N/P/clock values assigned. zero: error (not set) */ | ||
1226 | return (DeltaOld != 0xFFFFFFFF); | 1228 | return (DeltaOld != 0xFFFFFFFF); |
1227 | } | 1229 | } |
1228 | /* | 1230 | /* |
@@ -1240,7 +1242,10 @@ int CalcStateExt | |||
1240 | int dotClock | 1242 | int dotClock |
1241 | ) | 1243 | ) |
1242 | { | 1244 | { |
1243 | int pixelDepth, VClk, m, n, p; | 1245 | int pixelDepth; |
1246 | int uninitialized_var(VClk),uninitialized_var(m), | ||
1247 | uninitialized_var(n), uninitialized_var(p); | ||
1248 | |||
1244 | /* | 1249 | /* |
1245 | * Save mode parameters. | 1250 | * Save mode parameters. |
1246 | */ | 1251 | */ |