diff options
author | Raphael Assenat <raph@8d.com> | 2006-10-03 01:15:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 08:04:12 -0700 |
commit | 5c60b118d62c14ad7586ed6a6e537c3294c90227 (patch) | |
tree | c4933389441e820d40683aa72c82e8750948c83c /drivers/nubus/nubus_syms.c | |
parent | 8bc218410d6c2b22a7581fac6f3dc2ac1f8fc99f (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 'drivers/nubus/nubus_syms.c')
0 files changed, 0 insertions, 0 deletions