Эх сурвалжийг харах

mm-drivers: hw_fence: add missing return type

Change addresses a compiler error for missing return type

Change-Id: I82f22cefef069988e60608210533250307e516b3
Signed-off-by: Alex Danila <[email protected]>
Alex Danila 2 жил өмнө
parent
commit
877fea198c

+ 1 - 1
hw_fence/src/hw_fence_drv_priv.c

@@ -124,7 +124,7 @@ static int init_hw_fences_queues(struct hw_fence_driver_data *drv_data,
 	return ret;
 }
 
-static inline _lock_client_queue(int queue_type)
+static inline bool _lock_client_queue(int queue_type)
 {
 	/* Only lock Rx Queue */
 	return (queue_type == (HW_FENCE_RX_QUEUE - 1)) ? true : false;