diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-03 22:06:19 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-03 22:06:19 -0400 |
commit | 3c8c7b2f32c52b259daa7564fefd582146799b23 (patch) | |
tree | 59ff1ad0d6b7821d474d8fccafd884703684b6d7 /drivers/video/aty/xlinit.c | |
parent | 7cb3cd090c2725b80561958a362c2ba15a7a8c86 (diff) | |
parent | 9123e0d78990246304fe681167b8d8097f1e02d7 (diff) |
Merge branch 'upstream-fixes'
Diffstat (limited to 'drivers/video/aty/xlinit.c')
-rw-r--r-- | drivers/video/aty/xlinit.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/video/aty/xlinit.c b/drivers/video/aty/xlinit.c index 0bea0d8d7821..a085cbf74ecb 100644 --- a/drivers/video/aty/xlinit.c +++ b/drivers/video/aty/xlinit.c | |||
@@ -253,9 +253,11 @@ int atyfb_xl_init(struct fb_info *info) | |||
253 | aty_st_le32(0xFC, 0x00000000, par); | 253 | aty_st_le32(0xFC, 0x00000000, par); |
254 | 254 | ||
255 | #if defined (CONFIG_FB_ATY_GENERIC_LCD) | 255 | #if defined (CONFIG_FB_ATY_GENERIC_LCD) |
256 | int i; | 256 | { |
257 | for (i=0; i<sizeof(lcd_tbl)/sizeof(lcd_tbl_t); i++) { | 257 | int i; |
258 | aty_st_lcd(lcd_tbl[i].lcd_reg, lcd_tbl[i].val, par); | 258 | |
259 | for (i = 0; i < ARRAY_SIZE(lcd_tbl); i++) | ||
260 | aty_st_lcd(lcd_tbl[i].lcd_reg, lcd_tbl[i].val, par); | ||
259 | } | 261 | } |
260 | #endif | 262 | #endif |
261 | 263 | ||