diff options
Diffstat (limited to 'drivers/video/via/viafbdev.c')
-rw-r--r-- | drivers/video/via/viafbdev.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/via/viafbdev.c b/drivers/video/via/viafbdev.c index 03f98d683205..e9c9f0ec842a 100644 --- a/drivers/video/via/viafbdev.c +++ b/drivers/video/via/viafbdev.c | |||
@@ -175,9 +175,6 @@ static int viafb_set_par(struct fb_info *info) | |||
175 | info->var.bits_per_pixel, vmode_index1, | 175 | info->var.bits_per_pixel, vmode_index1, |
176 | viafb_second_xres, viafb_second_yres, viafb_bpp1); | 176 | viafb_second_xres, viafb_second_yres, viafb_bpp1); |
177 | 177 | ||
178 | /*We should set memory offset according virtual_x */ | ||
179 | /*Fix me:put this function into viafb_setmode */ | ||
180 | viafb_memory_pitch_patch(info); | ||
181 | viafb_update_fix(info); | 178 | viafb_update_fix(info); |
182 | viafb_bpp = info->var.bits_per_pixel; | 179 | viafb_bpp = info->var.bits_per_pixel; |
183 | /* Update viafb_accel, it is necessary to our 2D accelerate */ | 180 | /* Update viafb_accel, it is necessary to our 2D accelerate */ |