瀏覽代碼

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 年之前
父節點
當前提交
877fea198c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hw_fence/src/hw_fence_drv_priv.c

+ 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;