Skip to content

Commit b3757e4

Browse files
miquelraynalopsiff
authored andcommitted
mtd: spinand: Fix kernel doc
[ Upstream commit a57b1f0 ] The @DaTa buffer is 5 bytes, not 4, it has been extended for the need of devices with an extra ID bytes. Fixes: 34a9567 ("mtd: spinand: Add support for 5-byte IDs") Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Sasha Levin <sashal@kernel.org> (cherry picked from commit d2a6ca4c07488ce811df9047befb0cebd8d99d05) Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent 0e3668c commit b3757e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/mtd/spinand.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ struct spinand_device;
195195

196196
/**
197197
* struct spinand_id - SPI NAND id structure
198-
* @data: buffer containing the id bytes. Currently 4 bytes large, but can
198+
* @data: buffer containing the id bytes. Currently 5 bytes large, but can
199199
* be extended if required
200200
* @len: ID length
201201
*/

0 commit comments

Comments
 (0)