]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: msm-geni: fix a compile time warning from msm_serial_setbrg()
authorVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Fri, 21 Apr 2023 17:50:38 +0000 (20:50 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 2 May 2023 18:23:58 +0000 (14:23 -0400)
commitbabdadc8a51ec54157d9e050eaf3f745052e1583
tree156027ac4b695f51be467d8c1e1b7ef649608ac6
parentb955970b23773c98d7f47f5074b1775c382802c4
serial: msm-geni: fix a compile time warning from msm_serial_setbrg()

A compiler warns about a missing function prototype, which is valid
and fixed by converting the function into static one, also fix
interleaved local variable declarations and assignments.

Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Fixes: 324df15a292e ("serial: qcom: add support for GENI serial driver")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
drivers/serial/serial_msm_geni.c