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

Jagan Teki jagannadh.teki at gmail.com
Fri Jul 22 10:22:20 CEST 2016


On 22 July 2016 at 10:55, Vignesh R <vigneshr at ti.com> 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: Jagan Teki <jteki at openedev.com>

-- 
Jagan.


More information about the U-Boot mailing list