[U-Boot] [PATCH v2 2/3] spi: ti_qspi: Fix compiler warning when DEBUG macro is set

Mugunthan V N mugunthanvnm at ti.com
Fri Jul 22 12:09:00 CEST 2016


On Friday 22 July 2016 10:55 AM, Vignesh R wrote:
> clk_div is uninitialized at the beginning of ti_spi_set_speed(), move
> debug() print after clk_div calculation to avoid compiler warning and to
> have proper value of clk_div printed during debugging.
> 
> Signed-off-by: Vignesh R <vigneshr at ti.com>

Reviewed-by: Mugunthan V N <mugunthanvnm at ti.com>

Regards
Mugunthan V N



More information about the U-Boot mailing list