summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorDario Binacchi <dario.binacchi@amarulasolutions.com>2022-10-18 19:02:05 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-11-07 17:17:20 +0100
commita50ae8c98e5766a4fcb78e76f13cc658b784eac1 (patch)
treef2c41448260950b053fe0cce8bb2fbfbaf2ce738 /include/linux/mtd
parent7c3fc99819fd812b00f1881537599e66b989e392 (diff)
downloadlinux-stable-a50ae8c98e5766a4fcb78e76f13cc658b784eac1.tar.gz
linux-stable-a50ae8c98e5766a4fcb78e76f13cc658b784eac1.tar.bz2
linux-stable-a50ae8c98e5766a4fcb78e76f13cc658b784eac1.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(). Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20221018170205.1733958-1-dario.binacchi@amarulasolutions.com
Diffstat (limited to 'include/linux/mtd')
-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 c3693bb87b4c..b2996dc987ff 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -999,7 +999,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);
/* ECC related functions */