DSS2: pass the default FB color format through board info
authorImre Deak <imre.deak@nokia.com>
Wed, 8 Apr 2009 10:51:46 +0000 (12:51 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 1 May 2009 16:45:02 +0000 (19:45 +0300)
commited482559c0870ea87d83bc8f3faafa13c4091d68
treee68f7c08d03529b5ba4ecd5d4237de12ace2995e
parent6cc58c1a3301311b5acac415f4ef52a295387d79
DSS2: pass the default FB color format through board info

Add a field to the FB memory region platform data, so that board
init code can pass a default color format to the driver. Set this
format as an initial setting for the given FB.

This is needed for an upcoming patch that adds detection of the
color format set by the bootloader.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
drivers/video/omap2/omapfb/omapfb-main.c
drivers/video/omap2/omapfb/omapfb.h
include/linux/omapfb.h