habanalabs: goya_reset_sob_group() can be static
authorkernel test robot <lkp@intel.com>
Thu, 19 Nov 2020 03:18:30 +0000 (11:18 +0800)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 30 Nov 2020 08:47:36 +0000 (10:47 +0200)
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>
drivers/misc/habanalabs/goya/goya.c

index d91f553b85951a39391f266120fbca0b1718d830..5e151610c1c850e226a917b054d9241e27cf2fe5 100644 (file)
@@ -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)
 {