nvmem: imx-ocotp: set varaiable imx_ocotp_layout storage-class-specifier to static
authorTom Rix <trix@redhat.com>
Sun, 11 Jun 2023 14:03:05 +0000 (15:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Jun 2023 11:42:16 +0000 (13:42 +0200)
commiteebc6573ad940b62a87776db3917e912b4f52d78
treea9fca766c570ec46c7a894aa84b6e981808c254f
parent095bb8ba45f28ed15296eb5b7662e03e57d5e34e
nvmem: imx-ocotp: set varaiable imx_ocotp_layout storage-class-specifier to static

smatch reports
drivers/nvmem/imx-ocotp.c:599:21: warning: symbol
  'imx_ocotp_layout' was not declared. Should it be static?

This variable is only used in one file so should be static.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Message-ID: <20230611140330.154222-2-srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/imx-ocotp.c