mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-25 07:06:40 +08: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: 4d530e7d12
("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…
Reference in New Issue
Block a user