diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-07-14 12:15:43 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-07-15 17:50:47 +0530 |
commit | 5726164fa4862f266cbdaa52e251343dcc9d3ea2 (patch) | |
tree | f0ce0485fea582a8208ef9d2a9122e2f09e4491a /drivers/dma/xgene-dma.c | |
parent | 8702624bd9472d85372d679fbdd705b91d9c4bbc (diff) | |
download | linux-5726164fa4862f266cbdaa52e251343dcc9d3ea2.tar.bz2 |
dmaengine: xgene-dma: Provide descriptions for 'dev' and 'clk' in device's ddata
Fixes the following W=1 kernel build warning(s):
drivers/dma/xgene-dma.c:310: warning: Function parameter or member 'dev' not described in 'xgene_dma'
drivers/dma/xgene-dma.c:310: warning: Function parameter or member 'clk' not described in 'xgene_dma'
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Cc: Prasad Sahu <rsahu@apm.com>
Cc: Loc Ho <lho@apm.com>
Link: https://lore.kernel.org/r/20200714111546.1755231-15-lee.jones@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/xgene-dma.c')
-rw-r--r-- | drivers/dma/xgene-dma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/xgene-dma.c b/drivers/dma/xgene-dma.c index cd60fa6d6750..4f733d37a22e 100644 --- a/drivers/dma/xgene-dma.c +++ b/drivers/dma/xgene-dma.c @@ -287,6 +287,8 @@ struct xgene_dma_chan { /** * struct xgene_dma - internal representation of an X-Gene DMA device + * @dev: reference to this device's struct device + * @clk: reference to this device's clock * @err_irq: DMA error irq number * @ring_num: start id number for DMA ring * @csr_dma: base for DMA register access |