mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 14:50:19 +00:00
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 <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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d0b59cf68c
commit
116a28ac1f
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user