Commit fe42a29e authored by Nishanth Menon's avatar Nishanth Menon

[DRA7] Fix up build warnings

Fix up build warnings popped up due to gcc 4.9
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
parent 1a67f08f
......@@ -439,10 +439,10 @@ double clk_dra7xx_sysclk1_rate_get(void)
double clk_dra7xx_rate_get(clk_dra7xx_id clk_id,
unsigned short ignore)
{
unsigned int reg_val;
unsigned int reg_val = 0;
double src_clk_speed, out_clk_speed;
clk_dra7xx_id src_clk_id;
double div;
double div = 0; /* Force a crash if not properly defined */
if (!cpu_is_dra7xx())
return (double) OMAPCONF_ERR_CPU;
......
......@@ -900,7 +900,7 @@ int statcoll_main_dra(int argc, char **argv)
case 'p':
{
unsigned int loop = 0;
unsigned int index;
unsigned int index = 0;
if (long_opt == 1) {
index = long_options[option_index].name[1] - '0';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment