[linux-yocto] [PATCH 10/14] spi: fix kernel-doc warnings in spi.h
Weifeng Voon
weifeng.voon at intel.com
Thu Jun 16 01:25:47 PDT 2016
From: Geliang Tang <geliangtang at 163.com>
Fix the following 'make htmldocs' warnings:
.//include/linux/spi/spi.h:71: warning: No description found for parameter 'lock'
.//include/linux/spi/spi.h:71: warning: Excess struct/union/enum/typedef member 'clock' description in 'spi_statistics'
Signed-off-by: Geliang Tang <geliangtang at 163.com>
Signed-off-by: Mark Brown <broonie at kernel.org>
(cherry picked from commit 0243ed44ad4a25dbd2e92ad97e5e12a1a6c72d6c)
Signed-off-by: Weifeng Voon <weifeng.voon at intel.com>
---
include/linux/spi/spi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index 269e8af..6b00f18 100644
--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -34,7 +34,7 @@ extern struct bus_type spi_bus_type;
/**
* struct spi_statistics - statistics for spi transfers
- * @clock: lock protecting this structure
+ * @lock: lock protecting this structure
*
* @messages: number of spi-messages handled
* @transfers: number of spi_transfers handled
--
1.9.1
More information about the linux-yocto
mailing list