drm/nouveau/secboot: Make acr_r352_ls_gpccs_func static
authorYueHaibing <yuehaibing@huawei.com>
Wed, 17 Jul 2019 06:56:26 +0000 (14:56 +0800)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 23 Aug 2019 02:55:30 +0000 (12:55 +1000)
Fix sparse warning:

drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c:1092:1:
 warning: symbol 'acr_r352_ls_gpccs_func' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c

index 4fd4cfe459b8ac5541eaf0eb8d1f70c3a2ab71e1..7af971db91bce2121495872cff5188fe9a6ff6ce 100644 (file)
@@ -1088,7 +1088,7 @@ acr_r352_ls_gpccs_func_0 = {
        .lhdr_flags = LSF_FLAG_FORCE_PRIV_LOAD,
 };
 
-const struct acr_r352_ls_func
+static const struct acr_r352_ls_func
 acr_r352_ls_gpccs_func = {
        .load = acr_ls_ucode_load_gpccs,
        .version_max = 0,