]> git.karo-electronics.de Git - mv-sheeva.git/commit
drivers/video: fsl-diu-fb: add default platform ops functions
authorTimur Tabi <timur@freescale.com>
Mon, 19 Dec 2011 22:26:17 +0000 (16:26 -0600)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Tue, 3 Jan 2012 15:59:09 +0000 (15:59 +0000)
commite09a8c3a42f4c90d300678b198410e6fcc8eddb6
tree61832640811e3d84ee43f34e1dbb16f87d5158fd
parentd397e916f313441d0c6b37df4b296c1dcc6aa202
drivers/video: fsl-diu-fb: add default platform ops functions

The DIU driver requires some platform-specific functions to be defined,
but two them can be optional because most platforms implement them the
same way.  Functions set_gamma_table() and get_pixel_format() are only
needed because of quirks in the Freescale MPC8610 HPCD reference board.
For other boards, a generic implementation works, so we shouldn't
require the platform code to define them.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/fsl-diu-fb.c