X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fvideo%2Faty%2Fmach64_gx.c;h=f85f0a052784a471a7973407186dbd682e0900d6;hb=1341115471cc16954510b0e67295468f5a32b088;hp=28540cf1e9aa03bc2c0459a8f589f4cdba701bed;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/drivers/video/aty/mach64_gx.c b/drivers/video/aty/mach64_gx.c index 28540cf1e..f85f0a052 100644 --- a/drivers/video/aty/mach64_gx.c +++ b/drivers/video/aty/mach64_gx.c @@ -653,7 +653,7 @@ static int aty_var_to_pll_8398(const struct fb_info *info, for (m = MIN_M; m <= MAX_M; m++) { for (n = MIN_N; n <= MAX_N; n++) { - tempA = 938356; /* 14.31818 * 65536 */ + tempA = (14.31818 * 65536); tempA *= (n + 8); /* 43..256 */ tempB = twoToKth * 256; tempB *= (m + 2); /* 4..32 */