From: Geert U. <ge...@li...> - 2006-11-24 14:50:31
|
Remove references to non-existent fbmon_valid_timings() Signed-Off-By: Geert Uytterhoeven <ge...@li...> --- drivers/video/amifb.c | 8 -------- drivers/video/aty/atyfb_base.c | 4 ---- include/linux/fb.h | 2 -- 3 files changed, 14 deletions(-) --- ps3-linux-src.orig/drivers/video/amifb.c +++ ps3-linux-src/drivers/video/amifb.c @@ -2904,14 +2904,6 @@ par->crsr.spot_x = par->crsr.spot_y = 0; par->crsr.height = par->crsr.width = 0; -#if 0 /* fbmon not done. uncomment for 2.5.x -brad */ - if (!fbmon_valid_timings(pixclock[clk_shift], htotal, vtotal, - &fb_info)) { - DPRINTK("mode doesn't fit for monitor\n"); - return -EINVAL; - } -#endif - return 0; } --- ps3-linux-src.orig/drivers/video/aty/atyfb_base.c +++ ps3-linux-src/drivers/video/aty/atyfb_base.c @@ -1495,10 +1495,6 @@ else info->var.accel_flags = 0; -#if 0 /* fbmon is not done. uncomment for 2.5.x -brad */ - if (!fbmon_valid_timings(pixclock, htotal, vtotal, info)) - return -EINVAL; -#endif aty_crtc_to_var(&crtc, var); var->pixclock = par->pll_ops->pll_to_var(info, &pll); return 0; --- ps3-linux-src.orig/include/linux/fb.h +++ ps3-linux-src/include/linux/fb.h @@ -929,8 +929,6 @@ #define FB_MODE_IS_FIRST 16 #define FB_MODE_IS_FROM_VAR 32 -extern int fbmon_valid_timings(u_int pixclock, u_int htotal, u_int vtotal, - const struct fb_info *fb_info); extern int fbmon_dpms(const struct fb_info *fb_info); extern int fb_get_mode(int flags, u32 val, struct fb_var_screeninfo *var, struct fb_info *info); Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |