summaryrefslogtreecommitdiff
path: root/drivers/video/console/fbcon_cw.c
diff options
context:
space:
mode:
authorRaphael Assenat <raph@8d.com>2006-10-03 12:15:05 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 19:04:12 +0400
commit5c60b118d62c14ad7586ed6a6e537c3294c90227 (patch)
treec4933389441e820d40683aa72c82e8750948c83c /drivers/video/console/fbcon_cw.c
parent8bc218410d6c2b22a7581fac6f3dc2ac1f8fc99f (diff)
downloadlinux-5c60b118d62c14ad7586ed6a6e537c3294c90227.tar.xz
[PATCH] mbxfb: Fix framebuffer size smaller than requested
This patch fixes a bug where we obtain a smaller resolution than requested. (eg: in 640x480, only 639x479 usable pixels). This was due to 1 being substracted from the xres and yres vars two times: first in mbxfb.c and then in the macros from reg_bits.h. This patch removes the minus ones from the mbxfb.c file. Tested and works. Signed-off-by: Raphael Assenat <raph@8d.com> Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/console/fbcon_cw.c')
0 files changed, 0 insertions, 0 deletions