Commit 4a0b01fa authored by Oded Gabbay's avatar Oded Gabbay

habanalabs: change function to static

handle_registration_node() is called directly from the irq handler
in irq.c, so it can be static.
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 9e70ac1a
......@@ -175,7 +175,7 @@ static void hl_ts_free_objects(struct work_struct *work)
* so here we'll be filling a list with nodes of "put" jobs and then will send this
* list to a dedicated workqueue to do the actual put.
*/
int handle_registration_node(struct hl_device *hdev, struct hl_user_pending_interrupt *pend,
static int handle_registration_node(struct hl_device *hdev, struct hl_user_pending_interrupt *pend,
struct list_head **free_list)
{
struct timestamp_reg_free_node *free_node;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment