浏览代码

drm/nouveau/secboot: make nvkm_secboot_falcon_name visible

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>
Alexandre Courbot 8 年之前
父节点
当前提交
ba735d061d

+ 2 - 0
drivers/gpu/drm/nouveau/include/nvkm/subdev/secboot.h

@@ -34,6 +34,8 @@ enum nvkm_secboot_falcon {
 	NVKM_SECBOOT_FALCON_INVALID = 0xffffffff,
 	NVKM_SECBOOT_FALCON_INVALID = 0xffffffff,
 };
 };
 
 
+extern const char *nvkm_secboot_falcon_name[];
+
 /**
 /**
  * @wpr_set: whether the WPR region is currently set
  * @wpr_set: whether the WPR region is currently set
 */
 */

+ 0 - 2
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/priv.h

@@ -33,8 +33,6 @@ struct nvkm_secboot_func {
 	int (*run_blob)(struct nvkm_secboot *, struct nvkm_gpuobj *);
 	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 *,
 int nvkm_secboot_ctor(const struct nvkm_secboot_func *, struct nvkm_acr *,
 		      struct nvkm_device *, int, struct nvkm_secboot *);
 		      struct nvkm_device *, int, struct nvkm_secboot *);
 int nvkm_secboot_falcon_reset(struct nvkm_secboot *);
 int nvkm_secboot_falcon_reset(struct nvkm_secboot *);