drivers: video: exynos: Fix compiler warnings
authorAjay Kumar <ajaykumar.rs@samsung.com>
Wed, 20 Jun 2012 10:00:13 +0000 (03:00 -0700)
committerPrathyush K <prathyush.k@samsung.com>
Wed, 20 Jun 2012 12:34:48 +0000 (18:04 +0530)
Initialize to 0 in order to resolve compiler warning

Change-Id: Ic5e09bcb504a45d68e17e56f31ed5ff37faa310e

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
drivers/video/exynos/exynos_dp_core.c

index 40a0fb5..add27bc 100644 (file)
@@ -392,7 +392,7 @@ static unsigned int exynos_dp_get_lane_link_training(
                                struct exynos_dp_device *dp,
                                int lane)
 {
-       u32 reg;
+       u32 reg = 0;
 
        switch (lane) {
        case 0:
@@ -479,7 +479,7 @@ static int exynos_dp_process_clock_recovery(struct exynos_dp_device *dp)
        u8 buf[5];
 
        u8 adjust_request[2];
-       u8 voltage_swing;
+       u8 voltage_swing = 0;
        u8 pre_emphasis;
        u8 training_lane;