]> git.baikalelectronics.ru Git - kernel.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)
commitfab7a6bd144d61289c3a947d82ca93069af96b98
tree61832640811e3d84ee43f34e1dbb16f87d5158fd
parentdf55d77cf3afe5c1942475b081d9279673f8a6f5
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