Skip to content

Commit 19234a5

Browse files
andy-shevgregkh
authored andcommitted
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: f7ce070 ("serial: exar: add CTI specific setup code") Signed-off-by: Andy Shevchenko <[email protected]> Tested-by: Parker Newman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 53ea31b commit 19234a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/tty/serial/8250/8250_exar.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,7 @@ static int cti_read_osc_freq(struct exar8250 *priv, u8 eeprom_offset)
715715
/**
716716
* cti_get_port_type_xr17c15x_xr17v25x() - Get port type of xr17c15x/xr17v25x
717717
* @priv: Device's private structure
718+
* @pcidev: Pointer to the PCI device for this port
718719
* @port_num: Port to get type of
719720
*
720721
* 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
807808
/**
808809
* cti_get_port_type_fpga() - Get the port type of a CTI FPGA card
809810
* @priv: Device's private structure
811+
* @pcidev: Pointer to the PCI device for this port
810812
* @port_num: Port to get type of
811813
*
812814
* 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,
836838
/**
837839
* cti_get_port_type_xr17v35x() - Read port type from the EEPROM
838840
* @priv: Device's private structure
841+
* @pcidev: Pointer to the PCI device for this port
839842
* @port_num: port offset
840843
*
841844
* CTI XR17V35X based cards have the port types stored in the EEPROM.

0 commit comments

Comments
 (0)