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 5dbd8aa..d03a1b0 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 936a65f..430b88e 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 *);