nvmem: sunplus-ocotp: staticize sp_otp_v0
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 21 Mar 2022 11:03:25 +0000 (12:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Apr 2022 15:15:14 +0000 (17:15 +0200)
commit1066f8156351fcd997125257cea47cf805ba4f6d
tree01f2bee1e90b9c4c2a85d77e6a3fb7ab3000b407
parent6bd0ffeaa389866089e9573b2298ae58d6359b75
nvmem: sunplus-ocotp: staticize sp_otp_v0

The "sp_otp_v0" file scope variable is not used outside, so make it
static to fix warning:

  drivers/nvmem/sunplus-ocotp.c:74:29: sparse:
    sparse: symbol 'sp_otp_v0' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20220321110326.44652-2-krzk@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/sunplus-ocotp.c