summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2026-04-29 20:56:39 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-05-04 16:02:07 +0300
commit22fa40c7ecdb11ddc1c95db88cce379408687962 (patch)
tree48b51d9ab101d593a9700dad97b074e7ed47b12e /include
parent4bde3ad9ee7b92ef226e02cbd3b5c743ed8f781e (diff)
downloadlinux-22fa40c7ecdb11ddc1c95db88cce379408687962.tar.xz
mtd: spinand: Expose spinand_op_is_odtr()
This helper is going to be needed in a vendor driver, so expose it. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/spinand.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/spinand.h b/include/linux/mtd/spinand.h
index 58abd306ebe3..e1f19664bb25 100644
--- a/include/linux/mtd/spinand.h
+++ b/include/linux/mtd/spinand.h
@@ -862,6 +862,8 @@ static inline void spinand_set_of_node(struct spinand_device *spinand,
nanddev_set_of_node(&spinand->base, np);
}
+bool spinand_op_is_odtr(const struct spi_mem_op *op);
+
int spinand_match_and_init(struct spinand_device *spinand,
const struct spinand_info *table,
unsigned int table_size,