]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
fbdev: sh_mobile_lcdcfb: allocate memory, sufficient for the biggest mode
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 3 Sep 2010 07:20:12 +0000 (07:20 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 14 Sep 2010 08:22:52 +0000 (17:22 +0900)
commit71d3b0fcadf70d0de1ad334f48c9a4060209091a
tree8996e60ce3a517797db46c0c0456084b4a78008b
parentbaf163749952ca5e33dd2d6a74da023e385c3a00
fbdev: sh_mobile_lcdcfb: allocate memory, sufficient for the biggest mode

Now, that we add support for multiple modes to the sh_mobile_lcdcfb driver, it
has to allocate memory, sufficient for the biggest of them.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_lcdcfb.c