OSDN Git Service

remoteproc/mtk_scpi_ipi: Fix one kernel-doc comment
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 16 Mar 2023 08:40:11 +0000 (16:40 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 16 Mar 2023 18:12:18 +0000 (12:12 -0600)
Fix the function name in kernel-doc comments to clear the below
warning:

drivers/remoteproc/mtk_scp_ipi.c:136: warning: expecting prototype for scp_ipi_lock(). Prototype was for scp_ipi_unlock() instead

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4544
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230316084011.99613-1-yang.lee@linux.alibaba.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/mtk_scp_ipi.c

index fc55df6..9c7c17b 100644 (file)
@@ -125,7 +125,7 @@ void scp_ipi_lock(struct mtk_scp *scp, u32 id)
 EXPORT_SYMBOL_GPL(scp_ipi_lock);
 
 /**
- * scp_ipi_lock() - Unlock after operations of an IPI ID
+ * scp_ipi_unlock() - Unlock after operations of an IPI ID
  *
  * @scp:       mtk_scp structure
  * @id:                IPI ID