Skip to content

Commit e867fee

Browse files
Lee Jonesbroonie
authored andcommitted
spi: spi-zynq-qspi: Add description for 2 missing attributes/parameters
Fixes the following W=1 kernel build warning(s): drivers/spi/spi-zynq-qspi.c:143: warning: Function parameter or member 'dev' not described in 'zynq_qspi' drivers/spi/spi-zynq-qspi.c:334: warning: Function parameter or member 'spi' not described in 'zynq_qspi_config_op' drivers/spi/spi-zynq-qspi.c:334: warning: Excess function parameter 'qspi' description in 'zynq_qspi_config_op' Signed-off-by: Lee Jones <[email protected]> Reviewed-by: Michal Simek <[email protected]> Cc: Sureshkumar Relli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent c7cd1df commit e867fee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/spi/spi-zynq-qspi.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119

120120
/**
121121
* struct zynq_qspi - Defines qspi driver instance
122+
* @dev: Pointer to the this device's information
122123
* @regs: Virtual address of the QSPI controller registers
123124
* @refclk: Pointer to the peripheral clock
124125
* @pclk: Pointer to the APB clock
@@ -316,7 +317,7 @@ static void zynq_qspi_chipselect(struct spi_device *spi, bool assert)
316317
/**
317318
* zynq_qspi_config_op - Configure QSPI controller for specified transfer
318319
* @xqspi: Pointer to the zynq_qspi structure
319-
* @qspi: Pointer to the spi_device structure
320+
* @spi: Pointer to the spi_device structure
320321
*
321322
* Sets the operational mode of QSPI controller for the next QSPI transfer and
322323
* sets the requested clock frequency.

0 commit comments

Comments
 (0)