aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorkernel test robot2020-11-19 11:18:30 +0800
committerOded Gabbay2020-11-30 10:47:36 +0200
commit2a570736ef3977a8c4d53e2da1861d4f88c0ecdd (patch)
tree27edd143ae26e4637e16cb1bb59ceef07d70adf8 /drivers/misc
parent4147864e8d65a0d57dd8573cf306382653616ac2 (diff)
habanalabs: goya_reset_sob_group() can be static
Make some functions static Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: kernel test robot <lkp@intel.com> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/habanalabs/goya/goya.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/habanalabs/goya/goya.c b/drivers/misc/habanalabs/goya/goya.c
index d91f553b8595..5e151610c1c8 100644
--- a/drivers/misc/habanalabs/goya/goya.c
+++ b/drivers/misc/habanalabs/goya/goya.c
@@ -5340,7 +5340,7 @@ static void goya_reset_sob(struct hl_device *hdev, void *data)
}
-void goya_reset_sob_group(struct hl_device *hdev, u16 sob_group)
+static void goya_reset_sob_group(struct hl_device *hdev, u16 sob_group)
{
}
@@ -5366,12 +5366,12 @@ u64 goya_get_device_time(struct hl_device *hdev)
return device_time | RREG32(mmPSOC_TIMESTAMP_CNTCVL);
}
-void goya_collective_wait_init_cs(struct hl_cs *cs)
+static void goya_collective_wait_init_cs(struct hl_cs *cs)
{
}
-int goya_collective_wait_create_jobs(struct hl_device *hdev,
+static int goya_collective_wait_create_jobs(struct hl_device *hdev,
struct hl_ctx *ctx, struct hl_cs *cs, u32 wait_queue_id,
u32 collective_engine_id)
{