From: Arseniy Krasnov <AVKrasnov@sberdevices.ru>
To: "Liang Yang" <liang.yang@amlogic.com>,
"Miquel Raynal" <miquel.raynal@bootlin.com>,
"Richard Weinberger" <richard@nod.at>,
"Vignesh Raghavendra" <vigneshr@ti.com>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Kevin Hilman" <khilman@baylibre.com>,
"Jerome Brunet" <jbrunet@baylibre.com>,
"Martin Blumenstingl" <martin.blumenstingl@googlemail.com>,
JaimeLiao <jaimeliao.tw@gmail.com>,
"Michał Kępień" <kernel@kempniu.pl>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Arseniy Krasnov" <AVKrasnov@sberdevices.ru>,
ChenXiaoSong <chenxiaosong2@huawei.com>,
"Adam Borowski" <kilobyte@angband.pl>
Cc: <oxffffaa@gmail.com>, <kernel@sberdevices.ru>,
<linux-mtd@lists.infradead.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-amlogic@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH v1 1/2] mtd: rawnand: export 'nand_exit_status_op()'
Date: Wed, 5 Jul 2023 13:43:57 +0300 [thread overview]
Message-ID: <20230705104403.696680-2-AVKrasnov@sberdevices.ru> (raw)
In-Reply-To: <20230705104403.696680-1-AVKrasnov@sberdevices.ru>
Export this function to work in pair with 'nand_status_op()' which is
already exported.
Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru>
---
drivers/mtd/nand/raw/nand_base.c | 1 +
include/linux/mtd/rawnand.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/mtd/nand/raw/nand_base.c b/drivers/mtd/nand/raw/nand_base.c
index a6af521832aa..d4b55155aeae 100644
--- a/drivers/mtd/nand/raw/nand_base.c
+++ b/drivers/mtd/nand/raw/nand_base.c
@@ -1885,6 +1885,7 @@ int nand_exit_status_op(struct nand_chip *chip)
return 0;
}
+EXPORT_SYMBOL_GPL(nand_exit_status_op);
/**
* nand_erase_op - Do an erase operation
diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h
index 5159d692f9ce..90a141ba2a5a 100644
--- a/include/linux/mtd/rawnand.h
+++ b/include/linux/mtd/rawnand.h
@@ -1540,6 +1540,7 @@ int nand_reset_op(struct nand_chip *chip);
int nand_readid_op(struct nand_chip *chip, u8 addr, void *buf,
unsigned int len);
int nand_status_op(struct nand_chip *chip, u8 *status);
+int nand_exit_status_op(struct nand_chip *chip);
int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock);
int nand_read_page_op(struct nand_chip *chip, unsigned int page,
unsigned int offset_in_page, void *buf, unsigned int len);
--
2.35.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2023-07-05 10:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-05 10:43 [PATCH v1 0/2] use NAND core API for Meson controller Arseniy Krasnov
2023-07-05 10:43 ` Arseniy Krasnov [this message]
2023-07-13 7:58 ` [PATCH v1 1/2] mtd: rawnand: export 'nand_exit_status_op()' Miquel Raynal
2023-07-05 10:43 ` [PATCH v1 2/2] mtd: rawnand: meson: use NAND core API to check status Arseniy Krasnov
2023-07-13 7:58 ` Miquel Raynal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230705104403.696680-2-AVKrasnov@sberdevices.ru \
--to=avkrasnov@sberdevices.ru \
--cc=andriy.shevchenko@linux.intel.com \
--cc=chenxiaosong2@huawei.com \
--cc=jaimeliao.tw@gmail.com \
--cc=jbrunet@baylibre.com \
--cc=kernel@kempniu.pl \
--cc=kernel@sberdevices.ru \
--cc=khilman@baylibre.com \
--cc=kilobyte@angband.pl \
--cc=liang.yang@amlogic.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=miquel.raynal@bootlin.com \
--cc=neil.armstrong@linaro.org \
--cc=oxffffaa@gmail.com \
--cc=richard@nod.at \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®