diff options
author | Oded Gabbay <ogabbay@kernel.org> | 2023-03-08 15:57:32 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-03-20 18:31:02 +0300 |
commit | 79c164372e991203d58db4e880f69e635f858ce6 (patch) | |
tree | 3f585c1239dfe4992d383a99e1fe83e9b4b5941f /drivers/accel | |
parent | 4516fede7ce802f3e86c8a3447dbb225fa2130de (diff) | |
download | linux-79c164372e991203d58db4e880f69e635f858ce6.tar.xz |
accel/habanalabs: make gaudi2_is_device_idle() static
This function is only called inside gaudi2.c file.
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202303071320.X5ouBlNY-lkp@intel.com/
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Ofir Bitton <obitton@habana.ai>
Diffstat (limited to 'drivers/accel')
-rw-r--r-- | drivers/accel/habanalabs/gaudi2/gaudi2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/accel/habanalabs/gaudi2/gaudi2.c b/drivers/accel/habanalabs/gaudi2/gaudi2.c index 4360553362da..8943dc9872da 100644 --- a/drivers/accel/habanalabs/gaudi2/gaudi2.c +++ b/drivers/accel/habanalabs/gaudi2/gaudi2.c @@ -7276,7 +7276,7 @@ static bool gaudi2_get_rotator_idle_status(struct hl_device *hdev, u64 *mask_arr return is_idle; } -bool gaudi2_is_device_idle(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, +static bool gaudi2_is_device_idle(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, struct engines_data *e) { bool is_idle = true; |