summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor/core.h
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-04-29 13:20:17 +0300
committerPratyush Yadav <p.yadav@ti.com>2022-05-09 14:25:22 +0300
commitd92e0dbc6a2686e20b558220376d5d1c6b0d9108 (patch)
tree4054cb938318da87707adcc67f78d45cd3fe3185 /drivers/mtd/spi-nor/core.h
parent94f697c5384bd7f9632acca483ba1ef9dd99ea97 (diff)
downloadlinux-d92e0dbc6a2686e20b558220376d5d1c6b0d9108.tar.xz
mtd: spi-nor: export spi_nor_hwcaps_pp2cmd()
The function will also be used by the debugfs module. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Pratyush Yadav <p.yadav@ti.com> Reviewed-by: Pratyush Yadav <p.yadav@ti.com> Link: https://lore.kernel.org/r/20220429102018.2361038-1-michael@walle.cc
Diffstat (limited to 'drivers/mtd/spi-nor/core.h')
-rw-r--r--drivers/mtd/spi-nor/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi-nor/core.h b/drivers/mtd/spi-nor/core.h
index 296bfa57f7c1..ef37e179c615 100644
--- a/drivers/mtd/spi-nor/core.h
+++ b/drivers/mtd/spi-nor/core.h
@@ -664,6 +664,7 @@ int spi_nor_otp_lock_sr2(struct spi_nor *nor, unsigned int region);
int spi_nor_otp_is_locked_sr2(struct spi_nor *nor, unsigned int region);
int spi_nor_hwcaps_read2cmd(u32 hwcaps);
+int spi_nor_hwcaps_pp2cmd(u32 hwcaps);
u8 spi_nor_convert_3to4_read(u8 opcode);
void spi_nor_set_read_settings(struct spi_nor_read_command *read,
u8 num_mode_clocks,