summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBibek Basu <bbasu@nvidia.com>2015-07-20 14:26:31 +0530
committerMatthew Pedro <mapedro@nvidia.com>2015-07-23 08:11:34 -0700
commit746a0c437970ccb0cb91a2e261c3e5dc182ee099 (patch)
treebacb079d688c7672b60f2a315a6507923762fc73 /arch
parent8d39aea9f580e1be7131a63ccf0604585f8104d7 (diff)
arm: tegra: fix debug build issue
Initialize uninitialized variables to get the build through Bug 1640594 Change-Id: Ia0788c5852bb8d68a79004e3f2fa1b3d2b9ca2fe Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/772239 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/board-panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-panel.c b/arch/arm/mach-tegra/board-panel.c
index f44b7785c811..c8e6924fe622 100644
--- a/arch/arm/mach-tegra/board-panel.c
+++ b/arch/arm/mach-tegra/board-panel.c
@@ -100,7 +100,7 @@ int tegra_panel_gpio_get_dt(const char *comp_str,
struct tegra_panel_of *panel)
{
int cnt = 0;
- char *label;
+ char *label = NULL;
const char *node_status;
int err = 0;
struct device_node *node =