]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/nouveau/secboot: make nvkm_secboot_falcon_name visible
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 15 Dec 2016 05:40:25 +0000 (14:40 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:11 +0000 (17:05 +1000)
Make nvkm_secboot_falcon_name publicly visible as other subdevs will
need to use it for debug messages.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/subdev/secboot.h
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/priv.h

index 5dbd8aa4f8c21856ecf2d61afcc70d4d35e92985..d03a1b08672351a162ee620aa3f0c365971b6207 100644 (file)
@@ -34,6 +34,8 @@ enum nvkm_secboot_falcon {
        NVKM_SECBOOT_FALCON_INVALID = 0xffffffff,
 };
 
+extern const char *nvkm_secboot_falcon_name[];
+
 /**
  * @wpr_set: whether the WPR region is currently set
 */
index 936a65f5658c682929fd68feb9494aea7b859515..430b88ec74cf68ab575e4cc058e60796ad43bb24 100644 (file)
@@ -33,8 +33,6 @@ struct nvkm_secboot_func {
        int (*run_blob)(struct nvkm_secboot *, struct nvkm_gpuobj *);
 };
 
-extern const char *nvkm_secboot_falcon_name[];
-
 int nvkm_secboot_ctor(const struct nvkm_secboot_func *, struct nvkm_acr *,
                      struct nvkm_device *, int, struct nvkm_secboot *);
 int nvkm_secboot_falcon_reset(struct nvkm_secboot *);