From b6e4686ca8c3932ed0eee66c016c05c870e44f5d Mon Sep 17 00:00:00 2001 From: Charles Keepax Date: Tue, 23 May 2023 10:01:24 +0100 Subject: [PATCH] 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 Link: https://lore.kernel.org/r/20230523090124.3132-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown --- 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 ac85d55..d1d583d 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 -- 2.7.4