diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-08-26 12:14:08 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-09-06 17:00:08 +0200 |
commit | a06f2e7cc4de104b14971e08d37f9d08c256b053 (patch) | |
tree | 780aaf96f01d84f9f421fbb5ec74278fd9c62754 /include/linux/mtd | |
parent | 631cfdd0520d19b7f4fc13b834fd9c8b46c6dbac (diff) | |
download | linux-a06f2e7cc4de104b14971e08d37f9d08c256b053.tar.gz linux-a06f2e7cc4de104b14971e08d37f9d08c256b053.tar.bz2 linux-a06f2e7cc4de104b14971e08d37f9d08c256b053.zip |
mtd: spi-nand: Expose spinand_write_reg_op()
This helper function will soon be used from a vendor driver, let's
export it through the spinand.h header. No need for any export, as there
is currently no reason for any module to need it.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240826101412.20644-6-miquel.raynal@bootlin.com
Diffstat (limited to 'include/linux/mtd')
-rw-r--r-- | include/linux/mtd/spinand.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/spinand.h b/include/linux/mtd/spinand.h index 14dce347dc46..8dbf67ca710a 100644 --- a/include/linux/mtd/spinand.h +++ b/include/linux/mtd/spinand.h @@ -533,6 +533,7 @@ int spinand_match_and_init(struct spinand_device *spinand, enum spinand_readid_method rdid_method); int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val); +int spinand_write_reg_op(struct spinand_device *spinand, u8 reg, u8 val); int spinand_select_target(struct spinand_device *spinand, unsigned int target); #endif /* __LINUX_MTD_SPINAND_H */ |