accel/habanalabs: make gaudi2_is_device_idle() static
authorOded Gabbay <ogabbay@kernel.org>
Wed, 8 Mar 2023 12:57:32 +0000 (14:57 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 20 Mar 2023 15:31:02 +0000 (17:31 +0200)
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>
drivers/accel/habanalabs/gaudi2/gaudi2.c

index 4360553362daf475db3fb2bb5ebee468ac29b59f..8943dc9872daf49bb65643c740a5377691eca0cf 100644 (file)
@@ -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;