summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2016-07-22 10:55:49 +0530
committerJagan Teki <jteki@openedev.com>2016-07-30 00:15:00 +0530
commitc595a2853099657ac97ccc7154a03e4d759fb909 (patch)
tree7b7ffcf8c0fc5da7561b16091bf6fc28ae575163 /drivers/mtd
parent69eeefaa060a848cd6acd8c94d1c43c9022adf53 (diff)
downloadu-boot-imx-c595a2853099657ac97ccc7154a03e4d759fb909.zip
u-boot-imx-c595a2853099657ac97ccc7154a03e4d759fb909.tar.gz
u-boot-imx-c595a2853099657ac97ccc7154a03e4d759fb909.tar.bz2
spi: ti_qspi: Fix compiler warning when DEBUG macro is set
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@ti.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions