Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44523
b: refs/heads/master
c: 3161986
h: refs/heads/master
i:
  44521: 419fe9d
  44519: 4d8bb8e
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Dec 13, 2006
1 parent 560823b commit 57a56d8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f13c152684a7f99ead26525270ed3e28a1d2467f
refs/heads/master: 3161986224a3faa8ccca3e665b7404d81e7ee3cf
8 changes: 0 additions & 8 deletions trunk/drivers/video/amifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2906,14 +2906,6 @@ static int ami_decode_var(struct fb_var_screeninfo *var,
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;
}

Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/video/aty/atyfb_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -1488,10 +1488,6 @@ static int atyfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
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;
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/linux/fb.h
Original file line number Diff line number Diff line change
Expand Up @@ -929,8 +929,6 @@ extern void fb_bl_default_curve(struct fb_info *fb_info, u8 off, u8 min, u8 max)
#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);
Expand Down

0 comments on commit 57a56d8

Please sign in to comment.