Skip to content

Commit b6e4686

Browse files
charleskeepaxbroonie
authored andcommitted
spi: spi-cadence: Add missing kernel doc for clk_rate in cdns_spi
Add the missing kernel documentation to silence the build warning. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20230523090124.3132-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 120e1aa commit b6e4686

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/spi/spi-cadence.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
* @regs: Virtual address of the SPI controller registers
102102
* @ref_clk: Pointer to the peripheral clock
103103
* @pclk: Pointer to the APB clock
104+
* @clk_rate: Reference clock frequency, taken from @ref_clk
104105
* @speed_hz: Current SPI bus clock speed in Hz
105106
* @txbuf: Pointer to the TX buffer
106107
* @rxbuf: Pointer to the RX buffer

0 commit comments

Comments
 (0)