summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRaphael Assenat <raph@8d.com>2006-10-03 01:15:05 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 08:04:12 -0700
commit5c60b118d62c14ad7586ed6a6e537c3294c90227 (patch)
treec4933389441e820d40683aa72c82e8750948c83c /include
parent8bc218410d6c2b22a7581fac6f3dc2ac1f8fc99f (diff)
[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 'include')
0 files changed, 0 insertions, 0 deletions