From: Raphael Assenat Date: Tue, 3 Oct 2006 08:15:05 +0000 (-0700) Subject: [PATCH] mbxfb: Fix framebuffer size smaller than requested X-Git-Tag: v2.6.19-rc1~291 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c60b118d62c14ad7586ed6a6e537c3294c90227;p=pandora-kernel.git [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 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed