summaryrefslogtreecommitdiff
path: root/board/samsung/smdk5250
diff options
context:
space:
mode:
authorAjay Kumar <ajaykumar.rs@samsung.com>2013-02-21 23:52:58 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2013-03-27 21:17:15 +0900
commitc18222bee868ae65a878165551d3d407c402f48c (patch)
tree03617b93a08f9778e49db432aa484e69700f9a2e /board/samsung/smdk5250
parent29fd57046e3c33c5d75eb2e7e6607cdf49e162ac (diff)
downloadu-boot-imx-c18222bee868ae65a878165551d3d407c402f48c.zip
u-boot-imx-c18222bee868ae65a878165551d3d407c402f48c.tar.gz
u-boot-imx-c18222bee868ae65a878165551d3d407c402f48c.tar.bz2
video: exynos_dp: 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. Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/smdk5250')
-rw-r--r--board/samsung/smdk5250/smdk5250.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c
index 9f467db..f45e485 100644
--- a/board/samsung/smdk5250/smdk5250.c
+++ b/board/samsung/smdk5250/smdk5250.c
@@ -503,6 +503,11 @@ vidinfo_t panel_info = {
.dp_enabled = 1,
};
+void exynos_set_dp_phy(unsigned int onoff)
+{
+ set_dp_phy_ctrl(onoff);
+}
+
static struct edp_device_info edp_info = {
.disp_info = {
.h_res = 2560,
@@ -533,7 +538,6 @@ static struct edp_device_info edp_info = {
};
static struct exynos_dp_platform_data dp_platform_data = {
- .phy_enable = set_dp_phy_ctrl,
.edp_dev_info = &edp_info,
};