[PATCH] mtd: fix nand.h kernel-doc warnings

Randy Dunlap rdunlap at infradead.org
Mon Nov 21 18:32:08 PST 2016


From: Randy Dunlap <rdunlap at infradead.org>

Fix kernel-doc warnings in <linux/mtd/nand.h>:

..//include/linux/mtd/nand.h:658: warning: No description found for parameter 'tCEH_min'
..//include/linux/mtd/nand.h:877: warning: No description found for parameter 'data_interface'

Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
---
 include/linux/mtd/nand.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

I haven't been able to find tCEH_min in any NAND datasheets (yet).

--- lnx-49-rc6.orig/include/linux/mtd/nand.h
+++ lnx-49-rc6/include/linux/mtd/nand.h
@@ -589,7 +589,7 @@ struct nand_buffers {
  * @tALS_min: ALE setup time
  * @tAR_min: ALE to RE# delay
  * @tCEA_max: CE# access time
- * @tCEH_min:
+ * @tCEH_min: CE# XXX time
  * @tCH_min:  CE# hold time
  * @tCHZ_max: CE# high to output hi-Z
  * @tCLH_min: CLE hold time
@@ -771,6 +771,7 @@ nand_get_sdr_timings(const struct nand_d
  *			supported, 0 otherwise.
  * @jedec_params:	[INTERN] holds the JEDEC parameter page when JEDEC is
  *			supported, 0 otherwise.
+ * @data_interface:	[INTERN] NAND interface timing information
  * @read_retries:	[INTERN] the number of read retry modes supported
  * @onfi_set_features:	[REPLACEABLE] set the features for ONFI nand
  * @onfi_get_features:	[REPLACEABLE] get the features for ONFI nand



More information about the linux-mtd mailing list