mtd: spinand: Fix kernel doc
[ Upstream commit a57b1f07d2d35843a7ada30c8cf9a215c0931868 ]
The @data buffer is 5 bytes, not 4, it has been extended for the need of
devices with an extra ID bytes.
Fixes: 34a956739d ("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>
This commit is contained in:
parent
39b74ec086
commit
980aa1f8d0
|
|
@ -287,7 +287,7 @@ struct spinand_device;
|
|||
|
||||
/**
|
||||
* struct spinand_id - SPI NAND id structure
|
||||
* @data: buffer containing the id bytes. Currently 4 bytes large, but can
|
||||
* @data: buffer containing the id bytes. Currently 5 bytes large, but can
|
||||
* be extended if required
|
||||
* @len: ID length
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue