]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
lcd: allow overriding lcd_get_size()
authorAnatolij Gustschin <agust@denx.de>
Sat, 9 Nov 2013 10:00:09 +0000 (11:00 +0100)
committerAnatolij Gustschin <agust@denx.de>
Tue, 12 Nov 2013 08:35:17 +0000 (09:35 +0100)
commitcefa47171276509fee89d8084da15409285e481b
tree0539affa3f569494c9da7f2ac4fa4f6595b0997f
parente2788afe672d06d4ee92220c4d7d39a83b4f90ee
lcd: allow overriding lcd_get_size()

Remove the redundant lcd_line_length initialisation which
sneaked in when an earlier version of the patch of commit
6d330719 has been rebased.

Some lcd drivers need to setup lcd_line_length not from the
panel_info parameters but by different means. Make the
lcd_get_size() weak to allow setting lcd_line_length in
a driver specific way.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Stephen Warren <swarren@wwwdotorg.org>
common/lcd.c