Skip to content

Commit 15eb830

Browse files
committed
mtd: spi-nor: mark the flash name as obsolete
The flash name is unreliable as we saw flash ID collisions. Mark the name as obsolete. Reviewed-by: Michael Walle <michael@walle.cc> Link: https://lore.kernel.org/r/20231215082138.16063-3-tudor.ambarus@linaro.org Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
1 parent 9fcb099 commit 15eb830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/spi-nor/core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ struct spi_nor_id {
465465
* struct flash_info - SPI NOR flash_info entry.
466466
* @id: pointer to struct spi_nor_id or NULL, which means "no ID" (mostly
467467
* older chips).
468-
* @name: the name of the flash.
468+
* @name: (obsolete) the name of the flash. Do not set it for new additions.
469469
* @size: the size of the flash in bytes.
470470
* @sector_size: (optional) the size listed here is what works with
471471
* SPINOR_OP_SE, which isn't necessarily called a "sector" by

0 commit comments

Comments
 (0)