[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240419090259.39542-1-yang.lee@linux.alibaba.com>
Date: Fri, 19 Apr 2024 17:02:59 +0800
From: Yang Li <yang.lee@...ux.alibaba.com>
To: ysato@...rs.sourceforge.jp,
dalias@...c.org,
glaubitz@...sik.fu-berlin.de
Cc: linux-sh@...r.kernel.org,
linux-kernel@...r.kernel.org,
Yang Li <yang.lee@...ux.alibaba.com>
Subject: [PATCH -next] dma: Add dev_id parameter description in request_dma_bycap
This patch adds the missing description for the dev_id parameter in the
kernel documentation for the request_dma_bycap function.
Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
---
arch/sh/drivers/dma/dma-api.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/sh/drivers/dma/dma-api.c b/arch/sh/drivers/dma/dma-api.c
index 89cd4a3b4cca..65005d348877 100644
--- a/arch/sh/drivers/dma/dma-api.c
+++ b/arch/sh/drivers/dma/dma-api.c
@@ -116,6 +116,7 @@ static int search_cap(const char **haystack, const char *needle)
* request_dma_bycap - Allocate a DMA channel based on its capabilities
* @dmac: List of DMA controllers to search
* @caps: List of capabilities
+ * @dev_id: Unique identifier for the device that is requesting a DMA channel
*
* Search all channels of all DMA controllers to find a channel which
* matches the requested capabilities. The result is the channel
--
2.20.1.7.g153144c
Powered by blists - more mailing lists