Skip to content

Commit cfd97f9

Browse files
cowilebroonie
authored andcommitted
spi: correct kernel-doc inconsistency
Silence documentation build warnings by correcting kernel-doc comment for spi_transfer struct. Signed-off-by: Colton Lewis <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 241b888 commit cfd97f9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

include/linux/spi/spi.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv)
329329
* every chipselect is connected to a slave.
330330
* @dma_alignment: SPI controller constraint on DMA buffers alignment.
331331
* @mode_bits: flags understood by this controller driver
332+
* @buswidth_override_bits: flags to override for this controller driver
332333
* @bits_per_word_mask: A mask indicating which values of bits_per_word are
333334
* supported by the driver. Bit n indicates that a bits_per_word n+1 is
334335
* supported. If set, the SPI core will reject any transfer with an
@@ -846,12 +847,7 @@ extern void spi_res_release(struct spi_controller *ctlr,
846847
* processed the word, i.e. the "pre" timestamp should be taken before
847848
* transmitting the "pre" word, and the "post" timestamp after receiving
848849
* transmit confirmation from the controller for the "post" word.
849-
* @timestamped_pre: Set by the SPI controller driver to denote it has acted
850-
* upon the @ptp_sts request. Not set when the SPI core has taken care of
851-
* the task. SPI device drivers are free to print a warning if this comes
852-
* back unset and they need the better resolution.
853-
* @timestamped_post: See above. The reason why both exist is that these
854-
* booleans are also used to keep state in the core SPI logic.
850+
* @timestamped: true if the transfer has been timestamped
855851
* @error: Error status logged by spi controller driver.
856852
*
857853
* SPI transfers always write the same number of bytes as they read.

0 commit comments

Comments
 (0)