summaryrefslogtreecommitdiffstats
path: root/drivers/video/da8xx-fb.c
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-07-25 20:59:35 +0800
committerAnatolij Gustschin <agust@denx.de>2015-08-30 23:57:07 +0200
commitc385ac283023a4fdd304674a8163ac271a1fb758 (patch)
tree604c2f797ca7b3df454e07c249a23232d1f1bbb7 /drivers/video/da8xx-fb.c
parentde934b4158091d544f2c82dce238cde8a42dc46a (diff)
downloadu-boot-c385ac283023a4fdd304674a8163ac271a1fb758.tar.gz
u-boot-c385ac283023a4fdd304674a8163ac271a1fb758.tar.xz
u-boot-c385ac283023a4fdd304674a8163ac271a1fb758.zip
video: discard empty video_set_lut implementation
Discard the empty video_set_lut function from platform video drivers. This commit "69d275458893eaec35229b589092c2a6bde5440f" introduces a weak function video_set_lut, so we do not need an strong function in platform drivers, which does nothing. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/video/da8xx-fb.c')
-rw-r--r--drivers/video/da8xx-fb.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
index 3a5f325cd3..e2b2144d88 100644
--- a/drivers/video/da8xx-fb.c
+++ b/drivers/video/da8xx-fb.c
@@ -1035,16 +1035,6 @@ err_release_fb:
return NULL;
}
-void video_set_lut(unsigned int index, /* color number */
- unsigned char r, /* red */
- unsigned char g, /* green */
- unsigned char b /* blue */
- )
-{
-
- return;
-}
-
void da8xx_video_init(const struct da8xx_panel *panel,
const struct lcd_ctrl_config *lcd_cfg, int bits_pixel)
{