summaryrefslogtreecommitdiff
path: root/board/samsung/smdk5250/smdk5250.c
diff options
context:
space:
mode:
authorAjay Kumar <ajaykumar.rs@samsung.com>2013-02-21 23:52:57 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2013-03-27 21:17:12 +0900
commit29fd57046e3c33c5d75eb2e7e6607cdf49e162ac (patch)
tree60cdc800b7d2af88aba01cbb838cfaae09734f10 /board/samsung/smdk5250/smdk5250.c
parent7ee68fe85f1a9e9db17d9760998c284cb85f56fa (diff)
downloadu-boot-imx-29fd57046e3c33c5d75eb2e7e6607cdf49e162ac.zip
u-boot-imx-29fd57046e3c33c5d75eb2e7e6607cdf49e162ac.tar.gz
u-boot-imx-29fd57046e3c33c5d75eb2e7e6607cdf49e162ac.tar.bz2
video: exynos_fb: Remove callbacks from the driver
Replaced the functionality of callbacks by using a standard set of functions. Instead of implementing and hooking up a callback, put the same code in one of the standard set of functions by overriding it. This patch is tested only on SMDK5250. For Trats and universal_c210 board, it is only compile tested. Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/smdk5250/smdk5250.c')
-rw-r--r--board/samsung/smdk5250/smdk5250.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c
index 217c6df..9f467db 100644
--- a/board/samsung/smdk5250/smdk5250.c
+++ b/board/samsung/smdk5250/smdk5250.c
@@ -454,7 +454,7 @@ int board_early_init_f(void)
#endif
#ifdef CONFIG_LCD
-void cfg_lcd_gpio(void)
+void exynos_cfg_lcd_gpio(void)
{
struct exynos5_gpio_part1 *gpio1 =
(struct exynos5_gpio_part1 *) samsung_get_base_gpio_part1();
@@ -494,10 +494,6 @@ vidinfo_t panel_info = {
.vl_cmd_allow_len = 0xf,
.win_id = 3,
- .cfg_gpio = cfg_lcd_gpio,
- .backlight_on = NULL,
- .lcd_power_on = NULL,
- .reset_lcd = NULL,
.dual_lcd_enabled = 0,
.init_delay = 0,