From: kernel test robot Date: Thu, 19 Nov 2020 03:18:30 +0000 (+0800) Subject: habanalabs: goya_reset_sob_group() can be static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2a570736ef3977a8c4d53e2da1861d4f88c0ecdd;p=linux.git habanalabs: goya_reset_sob_group() can be static Make some functions static Reported-by: kernel test robot Signed-off-by: kernel test robot Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- diff --git a/drivers/misc/habanalabs/goya/goya.c b/drivers/misc/habanalabs/goya/goya.c index d91f553b85951..5e151610c1c85 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) {