[PATCH] fbdev: remove references to non-existent fbmon_valid_timings()

Remove references to non-existent fbmon_valid_timings()

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: James Simmons <jsimmons@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Geert Uytterhoeven and committed by
Linus Torvalds
31619862 f13c1526

-14
-8
drivers/video/amifb.c
··· 2906 2906 par->crsr.spot_x = par->crsr.spot_y = 0; 2907 2907 par->crsr.height = par->crsr.width = 0; 2908 2908 2909 - #if 0 /* fbmon not done. uncomment for 2.5.x -brad */ 2910 - if (!fbmon_valid_timings(pixclock[clk_shift], htotal, vtotal, 2911 - &fb_info)) { 2912 - DPRINTK("mode doesn't fit for monitor\n"); 2913 - return -EINVAL; 2914 - } 2915 - #endif 2916 - 2917 2909 return 0; 2918 2910 } 2919 2911
-4
drivers/video/aty/atyfb_base.c
··· 1488 1488 else 1489 1489 info->var.accel_flags = 0; 1490 1490 1491 - #if 0 /* fbmon is not done. uncomment for 2.5.x -brad */ 1492 - if (!fbmon_valid_timings(pixclock, htotal, vtotal, info)) 1493 - return -EINVAL; 1494 - #endif 1495 1491 aty_crtc_to_var(&crtc, var); 1496 1492 var->pixclock = par->pll_ops->pll_to_var(info, &pll); 1497 1493 return 0;
-2
include/linux/fb.h
··· 929 929 #define FB_MODE_IS_FIRST 16 930 930 #define FB_MODE_IS_FROM_VAR 32 931 931 932 - extern int fbmon_valid_timings(u_int pixclock, u_int htotal, u_int vtotal, 933 - const struct fb_info *fb_info); 934 932 extern int fbmon_dpms(const struct fb_info *fb_info); 935 933 extern int fb_get_mode(int flags, u32 val, struct fb_var_screeninfo *var, 936 934 struct fb_info *info);