summaryrefslogtreecommitdiff
path: root/include/linux/mtd/spi-nor.h
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2020-04-03 23:44:16 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2020-04-28 09:45:04 +0300
commitba0aa311b0eb9d0a66a1b6b6fdeaa3b7584b798a (patch)
tree0a24ff3a4c4f2540c077b64f53f1342882521a2d /include/linux/mtd/spi-nor.h
parent40a571bc408bf10ac8be0eadf838483b9cf90141 (diff)
mtd: spi-nor: fix kernel-doc for spi_nor::mtd
When embedding 'struct mtd_info' within 'struct spi_nor', the kernel-doc comment was forgotten. Fix it by dropping the "pointer to" part from the comment. Fixes: 1976367173a4 ("mtd: spi-nor: embed struct mtd_info within struct spi_nor") Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'include/linux/mtd/spi-nor.h')
-rw-r--r--include/linux/mtd/spi-nor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h
index d3fcf7654040..20077881c955 100644
--- a/include/linux/mtd/spi-nor.h
+++ b/include/linux/mtd/spi-nor.h
@@ -328,7 +328,7 @@ struct spi_nor_flash_parameter;
/**
* struct spi_nor - Structure for defining the SPI NOR layer
- * @mtd: pointer to an mtd_info structure
+ * @mtd: an mtd_info structure
* @lock: the lock for the read/write/erase/lock/unlock operations
* @dev: pointer to an SPI device or an SPI NOR controller device
* @spimem: point to the spi mem device