diff options
author | Oded Gabbay <[email protected]> | 2023-03-08 14:57:32 +0200 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2023-03-20 17:31:02 +0200 |
commit | 79c164372e991203d58db4e880f69e635f858ce6 (patch) | |
tree | 3f585c1239dfe4992d383a99e1fe83e9b4b5941f | |
parent | 4516fede7ce802f3e86c8a3447dbb225fa2130de (diff) |
accel/habanalabs: make gaudi2_is_device_idle() static
This function is only called inside gaudi2.c file.
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Oded Gabbay <[email protected]>
Reviewed-by: Ofir Bitton <[email protected]>
-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; |