summaryrefslogtreecommitdiff
path: root/drivers/fpga/dfl-afu-region.c
diff options
context:
space:
mode:
authorXu Yilun <yilun.xu@intel.com>2023-01-14 23:54:44 +0800
committerXu Yilun <yilun.xu@intel.com>2023-01-28 23:33:43 +0800
commita73c125bbbcf6185b5a77ae946aa240876b4fe71 (patch)
treed11c44f6a4574a9afb09a43b3ffdaef52ecab506 /drivers/fpga/dfl-afu-region.c
parent782d8e61b5d6c15c5b7cfd5726da1f20f7cc8366 (diff)
downloadlwn-a73c125bbbcf6185b5a77ae946aa240876b4fe71.tar.gz
lwn-a73c125bbbcf6185b5a77ae946aa240876b4fe71.zip
fpga: dfl: more kernel-doc corrections
Fix more kernel-doc warnings in drivers/fpga/: $ ./scripts/kernel-doc -none drivers/fpga/* drivers/fpga/dfl-afu.h:61: warning: expecting prototype for struct fpga_afu_dma_region. Prototype was for struct dfl_afu_dma_region instead drivers/fpga/dfl-afu-region.c:52: warning: Function parameter or member 'pdata' not described in 'afu_mmio_region_add' drivers/fpga/dfl-fme-perf.c:161: warning: Function parameter or member 'node' not described in 'fme_perf_priv' drivers/fpga/dfl-fme-pr.h:70: warning: expecting prototype for struct dfl_fme_bridge_pdata. Prototype was for struct dfl_fme_br_pdata instead drivers/fpga/dfl.h:256: warning: Function parameter or member 'revision' not described in 'dfl_feature' Signed-off-by: Xu Yilun <yilun.xu@intel.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20230114155444.794712-1-yilun.xu@intel.com
Diffstat (limited to 'drivers/fpga/dfl-afu-region.c')
-rw-r--r--drivers/fpga/dfl-afu-region.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/fpga/dfl-afu-region.c b/drivers/fpga/dfl-afu-region.c
index 0804b7a0c298..2e7b41629406 100644
--- a/drivers/fpga/dfl-afu-region.c
+++ b/drivers/fpga/dfl-afu-region.c
@@ -39,6 +39,7 @@ static struct dfl_afu_mmio_region *get_region_by_index(struct dfl_afu *afu,
/**
* afu_mmio_region_add - add a mmio region to given feature dev.
*
+ * @pdata: afu platform device's pdata.
* @region_index: region index.
* @region_size: region size.
* @phys: region's physical address of this region.