diff options
author | Ajay Kumar <ajaykumar.rs@samsung.com> | 2013-02-21 23:53:04 (GMT) |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2013-03-27 12:21:19 (GMT) |
commit | beded3d13a8d87dfdf16fb4ca5a128c14fb75af9 (patch) | |
tree | 1278697be3389462452a369920868174187cab10 /drivers/video/exynos_dp_lowlevel.h | |
parent | 539d8f49df6e50571453322b1795c0f157bbe21f (diff) | |
download | u-boot-beded3d13a8d87dfdf16fb4ca5a128c14fb75af9.tar.xz |
video: exynos_dp: Make dp_regs global
dp_regs variable was redundantly defined across all the functions in
the driver even though it contains just the same address. We make it
global and initialize it once using exynos_dp_set_base_addr().
>From then on, other funtions can use the address stored in the global variable.
Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/video/exynos_dp_lowlevel.h')
-rw-r--r-- | drivers/video/exynos_dp_lowlevel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/exynos_dp_lowlevel.h b/drivers/video/exynos_dp_lowlevel.h index a041a7a..2c0ae12 100644 --- a/drivers/video/exynos_dp_lowlevel.h +++ b/drivers/video/exynos_dp_lowlevel.h @@ -76,5 +76,6 @@ void exynos_dp_set_video_timing_mode(unsigned int type); void exynos_dp_enable_video_master(unsigned int enable); void exynos_dp_start_video(void); unsigned int exynos_dp_is_video_stream_on(void); +void exynos_dp_set_base_addr(void); #endif /* _EXYNOS_DP_LOWLEVEL_H */ |