summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100/nvlink_gv100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/nvlink_gv100.c')
-rw-r--r--drivers/gpu/nvgpu/gv100/nvlink_gv100.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv100/nvlink_gv100.c b/drivers/gpu/nvgpu/gv100/nvlink_gv100.c
index d0dfebcf..d27239ae 100644
--- a/drivers/gpu/nvgpu/gv100/nvlink_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/nvlink_gv100.c
@@ -202,7 +202,7 @@ static const struct __nvlink_reginit __nvlink_reginit_per_link_gpu[] = {
202 202
203#define NVL_DEVICE(str) nvlinkip_discovery_common_device_##str##_v() 203#define NVL_DEVICE(str) nvlinkip_discovery_common_device_##str##_v()
204 204
205const char * __gv100_device_type_to_str(u32 type) 205static const char *__gv100_device_type_to_str(u32 type)
206{ 206{
207 if (type == NVL_DEVICE(ioctrl)) 207 if (type == NVL_DEVICE(ioctrl))
208 return "IOCTRL"; 208 return "IOCTRL";
@@ -1259,7 +1259,7 @@ static void gv100_nvlink_nvlipt_intr_enable(struct gk20a *g, u32 link_id,
1259/* 1259/*
1260 * Per-link NVLIPT ISR handler 1260 * Per-link NVLIPT ISR handler
1261 */ 1261 */
1262bool gv100_nvlink_nvlipt_isr(struct gk20a *g, u32 link_id) 1262static bool gv100_nvlink_nvlipt_isr(struct gk20a *g, u32 link_id)
1263{ 1263{
1264 /* 1264 /*
1265 * Interrupt handling happens in leaf handlers. Assume all interrupts 1265 * Interrupt handling happens in leaf handlers. Assume all interrupts