mtd: spi-nor: fixup kernel-doc for flash lock/unlock function pointers

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Nov 6 10:59:23 PST 2015


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=f8900258906c3533b91e779e80f75ec80de816c0
Commit:     f8900258906c3533b91e779e80f75ec80de816c0
Parent:     f0d2448e9a76db8482e716a067ba5abc713ed981
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Tue Sep 1 12:57:10 2015 -0700
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Oct 13 18:22:53 2015 -0700

    mtd: spi-nor: fixup kernel-doc for flash lock/unlock function pointers
    
    I got the names of these fields wrong.
    
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 include/linux/mtd/spi-nor.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h
index 88297ee..75eb1a0 100644
--- a/include/linux/mtd/spi-nor.h
+++ b/include/linux/mtd/spi-nor.h
@@ -145,8 +145,8 @@ struct mtd_info;
  * @write:		[DRIVER-SPECIFIC] write data to the SPI NOR
  * @erase:		[DRIVER-SPECIFIC] erase a sector of the SPI NOR
  *			at the offset @offs
- * @lock:		[FLASH-SPECIFIC] lock a region of the SPI NOR
- * @unlock:		[FLASH-SPECIFIC] unlock a region of the SPI NOR
+ * @flash_lock:		[FLASH-SPECIFIC] lock a region of the SPI NOR
+ * @flash_unlock:	[FLASH-SPECIFIC] unlock a region of the SPI NOR
  * @priv:		the private data
  */
 struct spi_nor {



More information about the linux-mtd-cvs mailing list