accel/habanalabs: set hl_capture_*_err storage-class-specifier to static
authorTom Rix <trix@redhat.com>
Mon, 13 Feb 2023 14:48:14 +0000 (06:48 -0800)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 15 Mar 2023 11:29:14 +0000 (13:29 +0200)
commit3a621af6373116320087ba3c88c260bc992cd2a4
tree63cf1de614e1cc35ad80928b1ac48e5fbb77918e
parent69ff5bccbc35be9acd24f501cf9497eef5ac69c5
accel/habanalabs: set hl_capture_*_err storage-class-specifier to static

smatch reports
drivers/accel/habanalabs/common/device.c:2619:6: warning:
  symbol 'hl_capture_hw_err' was not declared. Should it be static?
drivers/accel/habanalabs/common/device.c:2641:6: warning:
  symbol 'hl_capture_fw_err' was not declared. Should it be static?

both are only used in device.c, so they should be static

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/device.c