diff options
author | kernel test robot <lkp@intel.com> | 2020-11-19 04:18:30 +0100 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2020-11-30 09:47:36 +0100 |
commit | 2a570736ef3977a8c4d53e2da1861d4f88c0ecdd (patch) | |
tree | 27edd143ae26e4637e16cb1bb59ceef07d70adf8 /drivers/misc | |
parent | habanalabs: fetch pll frequency from firmware (diff) | |
download | linux-2a570736ef3977a8c4d53e2da1861d4f88c0ecdd.tar.xz linux-2a570736ef3977a8c4d53e2da1861d4f88c0ecdd.zip |
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.c | 6 |
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) { |