summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDario Binacchi <dario.binacchi@amarulasolutions.com>2022-11-08 10:07:19 +0100
committerDario Binacchi <dario.binacchi@amarulasolutions.com>2022-12-10 14:35:55 +0100
commit670789f5ba2f3330b137f637deb47671b8720c33 (patch)
treed510845049db9f0367e5feec6591e6372def1c0c /include/linux
parentd09807ad144cb2fe3745a58caadf9a4192038839 (diff)
downloadu-boot-670789f5ba2f3330b137f637deb47671b8720c33.tar.gz
u-boot-670789f5ba2f3330b137f637deb47671b8720c33.tar.bz2
u-boot-670789f5ba2f3330b137f637deb47671b8720c33.zip
mtd: nand: drop EXPORT_SYMBOL_GPL for nanddev_erase()
This function is only used within this module, so it is no longer necessary to use EXPORT_SYMBOL_GPL(). This patch parallels the work done in the following patch: https://lore.kernel.org/linux-mtd/20221018170205.1733958-1-dario.binacchi@amarulasolutions.com Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Reviewed-By: Michael Trimarchi <michael@amarulasolutions.com> Link: https://lore.kernel.org/all/20221108090719.3631621-1-dario.binacchi@amarulasolutions.com
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/nand.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 7774c17ad5..aeb38dec2e 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -691,7 +691,6 @@ static inline bool nanddev_io_iter_end(struct nand_device *nand,
bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos);
bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos);
-int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos);
int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos);
/* BBT related functions */