summaryrefslogtreecommitdiff
path: root/drivers/firmware
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2022-04-22 13:38:06 -0400
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-05-05 22:08:15 -0500
commit28e3dc8f8cd37eedc14e97e80a7a2e33359491df (patch)
treed2ea5a84c29cd5f645c049e6d9d77382ca9fd5f1 /drivers/firmware
parentec69dfbdc426f22a9557e5c5408d7902fe0e0144 (diff)
soc: qcom: pdr: use static for servreg_* variables
Sparse reports this repesentative issue pdr_internal.h:31:22: warning: symbol 'servreg_location_entry_ei' was not declared. Should it be static? Similar for other servreg_* Global variables should not be defined in header files. This only works because pdr_internal.h is only included by pdr_interface.c. Single file use variables should be static so add static to their storage-class specifiers. Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220422173806.21982-1-trix@redhat.com
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions