diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-21 07:53:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-21 07:53:38 -0700 |
commit | 2fe9f798ba3cf7c939e638b78f46975e79039978 (patch) | |
tree | f65153c806f68bd6e965d65d7c7e4104b27fff90 /drivers/video | |
parent | 76abf3e71c5a4d315ec95e23e5aedd15fbfcd6df (diff) | |
parent | a131430c200f6bda313bf5d0a8e238c41afdfe0a (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/aty/xlinit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/video/aty/xlinit.c b/drivers/video/aty/xlinit.c index 92643af12581..0bea0d8d7821 100644 --- a/drivers/video/aty/xlinit.c +++ b/drivers/video/aty/xlinit.c @@ -174,7 +174,7 @@ int atyfb_xl_init(struct fb_info *info) const struct xl_card_cfg_t * card = &card_cfg[xl_card]; struct atyfb_par *par = (struct atyfb_par *) info->par; union aty_pll pll; - int i, err; + int err; u32 temp; aty_st_8(CONFIG_STAT0, 0x85, par); @@ -252,9 +252,12 @@ int atyfb_xl_init(struct fb_info *info) aty_st_le32(0xEC, 0x00000000, par); aty_st_le32(0xFC, 0x00000000, par); +#if defined (CONFIG_FB_ATY_GENERIC_LCD) + int i; for (i=0; i<sizeof(lcd_tbl)/sizeof(lcd_tbl_t); i++) { aty_st_lcd(lcd_tbl[i].lcd_reg, lcd_tbl[i].val, par); } +#endif aty_st_le16(CONFIG_STAT0, 0x00A4, par); mdelay(10); |