mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
serial: 8250_exar: Describe all parameters in kernel doc
Kernel doc validator is not happy:
warning: Function parameter or struct member 'pcidev' not described in 'cti_get_port_type_xr17c15x_xr17v25x'
warning: Function parameter or struct member 'pcidev' not described in 'cti_get_port_type_fpga'
warning: Function parameter or struct member 'pcidev' not described in 'cti_get_port_type_xr17v35x'
Add missed descriptions.
Fixes: f7ce070629
("serial: exar: add CTI specific setup code")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Parker Newman <pnewman@connecttech.com>
Link: https://lore.kernel.org/r/20240503171917.2921250-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
53ea31bb6b
commit
19234a5f61
@ -715,6 +715,7 @@ static int cti_read_osc_freq(struct exar8250 *priv, u8 eeprom_offset)
|
||||
/**
|
||||
* cti_get_port_type_xr17c15x_xr17v25x() - Get port type of xr17c15x/xr17v25x
|
||||
* @priv: Device's private structure
|
||||
* @pcidev: Pointer to the PCI device for this port
|
||||
* @port_num: Port to get type of
|
||||
*
|
||||
* CTI xr17c15x and xr17v25x based cards port types are based on PCI IDs.
|
||||
@ -807,6 +808,7 @@ static enum cti_port_type cti_get_port_type_xr17c15x_xr17v25x(struct exar8250 *p
|
||||
/**
|
||||
* cti_get_port_type_fpga() - Get the port type of a CTI FPGA card
|
||||
* @priv: Device's private structure
|
||||
* @pcidev: Pointer to the PCI device for this port
|
||||
* @port_num: Port to get type of
|
||||
*
|
||||
* FPGA based cards port types are based on PCI IDs.
|
||||
@ -836,6 +838,7 @@ static enum cti_port_type cti_get_port_type_fpga(struct exar8250 *priv,
|
||||
/**
|
||||
* cti_get_port_type_xr17v35x() - Read port type from the EEPROM
|
||||
* @priv: Device's private structure
|
||||
* @pcidev: Pointer to the PCI device for this port
|
||||
* @port_num: port offset
|
||||
*
|
||||
* CTI XR17V35X based cards have the port types stored in the EEPROM.
|
||||
|
Loading…
Reference in New Issue
Block a user