video: mb862xxfb: correct fix.smem_len field initialization
authorAnatolij Gustschin <agust@denx.de>
Fri, 13 May 2011 09:05:08 +0000 (11:05 +0200)
committerAnatolij Gustschin <agust@denx.de>
Tue, 24 May 2011 14:28:51 +0000 (16:28 +0200)
commitdcdf2f7e7e154957f913e5468e3715e1a0401138
tree8aab5f567d215e70b25161b10de4fe78e5893a56
parentaf1ce6b2fad7d572aef040d61a935da28a861853
video: mb862xxfb: correct fix.smem_len field initialization

Initialize smem_len field to the actual frame buffer size and
not to the whole video RAM size. This prevents overwriting
other video memory (which could be used by other layers, cursors
or accelerated drivers) by frame buffer applications relying on
fix.smem_len.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/video/mb862xx/mb862xxfb.c