mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
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
This commit is contained in:
parent
782d8e61b5
commit
a73c125bbb
@ -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.
|
||||
|
@ -41,7 +41,7 @@ struct dfl_afu_mmio_region {
|
||||
};
|
||||
|
||||
/**
|
||||
* struct fpga_afu_dma_region - afu DMA region data structure
|
||||
* struct dfl_afu_dma_region - afu DMA region data structure
|
||||
*
|
||||
* @user_addr: region userspace virtual address.
|
||||
* @length: region length.
|
||||
|
@ -141,7 +141,7 @@
|
||||
* @fab_port_id: used to indicate current working mode of fabric counters.
|
||||
* @fab_lock: lock to protect fabric counters working mode.
|
||||
* @cpu: active CPU to which the PMU is bound for accesses.
|
||||
* @cpuhp_node: node for CPU hotplug notifier link.
|
||||
* @node: node for CPU hotplug notifier link.
|
||||
* @cpuhp_state: state for CPU hotplug notification;
|
||||
*/
|
||||
struct fme_perf_priv {
|
||||
|
@ -58,7 +58,7 @@ struct dfl_fme_bridge {
|
||||
};
|
||||
|
||||
/**
|
||||
* struct dfl_fme_bridge_pdata - platform data for FME bridge platform device.
|
||||
* struct dfl_fme_br_pdata - platform data for FME bridge platform device.
|
||||
*
|
||||
* @cdev: container device.
|
||||
* @port_id: port id.
|
||||
|
@ -231,6 +231,7 @@ struct dfl_feature_irq_ctx {
|
||||
*
|
||||
* @dev: ptr to pdev of the feature device which has the sub feature.
|
||||
* @id: sub feature id.
|
||||
* @revision: revision value of this sub feature.
|
||||
* @resource_index: each sub feature has one mmio resource for its registers.
|
||||
* this index is used to find its mmio resource from the
|
||||
* feature dev (platform device)'s resources.
|
||||
|
Loading…
Reference in New Issue
Block a user