summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-cadence.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2023-05-23 11:01:24 +0200
committerMark Brown <broonie@kernel.org>2023-05-23 11:58:35 +0200
commitb6e4686ca8c3932ed0eee66c016c05c870e44f5d (patch)
tree6a6d5033c6cf31ee1c400ed2b52bd0237548473a /drivers/spi/spi-cadence.c
parentspi: hisi-kunpeng: Fix error checking (diff)
downloadlinux-b6e4686ca8c3932ed0eee66c016c05c870e44f5d.tar.xz
linux-b6e4686ca8c3932ed0eee66c016c05c870e44f5d.zip
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>
Diffstat (limited to 'drivers/spi/spi-cadence.c')
-rw-r--r--drivers/spi/spi-cadence.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c
index ac85d5562212..d1d583d82e28 100644
--- a/drivers/spi/spi-cadence.c
+++ b/drivers/spi/spi-cadence.c
@@ -101,6 +101,7 @@
* @regs: Virtual address of the SPI controller registers
* @ref_clk: Pointer to the peripheral clock
* @pclk: Pointer to the APB clock
+ * @clk_rate: Reference clock frequency, taken from @ref_clk
* @speed_hz: Current SPI bus clock speed in Hz
* @txbuf: Pointer to the TX buffer
* @rxbuf: Pointer to the RX buffer