From 2a570736ef3977a8c4d53e2da1861d4f88c0ecdd Mon Sep 17 00:00:00 2001 From: kernel test robot Date: Thu, 19 Nov 2020 11:18:30 +0800 Subject: [PATCH] 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 --- drivers/misc/habanalabs/goya/goya.c | 6 +++--- 1 file 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) {