diff options
Diffstat (limited to 'src/drivers/ati/ragexl')
-rw-r--r-- | src/drivers/ati/ragexl/mach64_ct.c | 5 | ||||
-rw-r--r-- | src/drivers/ati/ragexl/xlinit.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/drivers/ati/ragexl/mach64_ct.c b/src/drivers/ati/ragexl/mach64_ct.c index 0a642b81db..ca5283de27 100644 --- a/src/drivers/ati/ragexl/mach64_ct.c +++ b/src/drivers/ati/ragexl/mach64_ct.c @@ -1,4 +1,5 @@ #define DEBUG_PLL 0 +#define PLL_CRTC_DECODE 0 /* FIXME: remove the FAIL definition */ #if 0 @@ -123,9 +124,7 @@ static int aty_valid_pll_ct(const struct fb_info_aty *info, u32 vclk_per, #if DEBUG_PLL==1 int pllmclk, pllsclk; #endif - - u32 q, x; /* x is a workaround for sparc64-linux-gcc */ - x = x; /* x is a workaround for sparc64-linux-gcc */ + u32 q; pll->pll_ref_div = info->pll_per*2*255/info->ref_clk_per; diff --git a/src/drivers/ati/ragexl/xlinit.c b/src/drivers/ati/ragexl/xlinit.c index 09c9400e44..cd3776283e 100644 --- a/src/drivers/ati/ragexl/xlinit.c +++ b/src/drivers/ati/ragexl/xlinit.c @@ -485,12 +485,12 @@ static void aty_calc_mem_refresh(struct fb_info_aty *info, u16 id, int xclk) static void ati_ragexl_init(device_t dev) { u32 chip_id; - u32 i; int j; u16 type; u8 rev; const char *chipname = NULL; #if CONFIG_CONSOLE_BTEXT + u32 i; const char *xtal; #endif int pll, mclk, xclk; |