]> git.sur5r.net Git - u-boot/commit
video: exynos_dp: Make dp_regs global
authorAjay Kumar <ajaykumar.rs@samsung.com>
Thu, 21 Feb 2013 23:53:04 +0000 (23:53 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 27 Mar 2013 12:21:19 +0000 (21:21 +0900)
commitbeded3d13a8d87dfdf16fb4ca5a128c14fb75af9
tree1278697be3389462452a369920868174187cab10
parent539d8f49df6e50571453322b1795c0f157bbe21f
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>
drivers/video/exynos_dp.c
drivers/video/exynos_dp_lowlevel.c
drivers/video/exynos_dp_lowlevel.h