From: kernel test robot Date: Thu, 24 Mar 2022 21:23:11 +0000 (+0800) Subject: habanalabs: hl_ts_behavior can be static X-Git-Tag: v6.1-rc5~1160^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=116a28ac1f0802dc306392746c3dde272ee55c47;p=platform%2Fkernel%2Flinux-starfive.git habanalabs: hl_ts_behavior can be static drivers/misc/habanalabs/common/memory.c:2137:28: warning: symbol 'hl_ts_behavior' was not declared. Should it be static? Fixes: 4d530e7d121a ("habanalabs: convert ts to use unified memory manager") Reported-by: kernel test robot Signed-off-by: kernel test robot Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/habanalabs/common/memory.c b/drivers/misc/habanalabs/common/memory.c index 900f2f0..57d42e3 100644 --- a/drivers/misc/habanalabs/common/memory.c +++ b/drivers/misc/habanalabs/common/memory.c @@ -2140,7 +2140,7 @@ free_mem: return -ENOMEM; } -struct hl_mmap_mem_buf_ops hl_ts_behavior = { +static struct hl_mmap_mem_buf_ops hl_ts_behavior = { .mmap = hl_ts_mmap, .alloc = hl_ts_alloc_buf, .release = ts_buff_release,