Commit 79c16437 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

accel/habanalabs: make gaudi2_is_device_idle() static



This function is only called inside gaudi2.c file.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202303071320.X5ouBlNY-lkp@intel.com/


Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
Reviewed-by: default avatarOfir Bitton <obitton@habana.ai>
parent 4516fede
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;