[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230523090124.3132-1-ckeepax@opensource.cirrus.com>
Date: Tue, 23 May 2023 10:01:24 +0100
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: <broonie@...nel.org>
CC: <srinivas.goud@....com>, <linux-spi@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <patches@...nsource.cirrus.com>
Subject: [PATCH v3] 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@...nsource.cirrus.com>
---
Just splitting the patch out to fix my omitting v2 in the title.
Thanks,
Charles
drivers/spi/spi-cadence.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c
index 26e6633693196..de8fe3c5becbb 100644
--- a/drivers/spi/spi-cadence.c
+++ b/drivers/spi/spi-cadence.c
@@ -102,6 +102,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
--
2.30.2
Powered by blists - more mailing lists