diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-26 11:45:39 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-03-15 11:29:27 +0100 |
commit | 30750ef9903470e01ac864bafe366d5c724c545b (patch) | |
tree | 19da412e806ac25f73f442237ab27785d4d6570f /include/linux | |
parent | 1eee78b58073ff5637e699d4fa61f117440f79a2 (diff) | |
download | barebox-30750ef9903470e01ac864bafe366d5c724c545b.tar.gz barebox-30750ef9903470e01ac864bafe366d5c724c545b.tar.xz |
mtd: rename mtd_all_ff -> mtd_buf_all_ff
To make clear this function checks a given buffer and not data on a mtd
device.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mtd/mtd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 98dd82c405..4374882288 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -312,7 +312,7 @@ int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs); int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs); int mtd_block_markgood(struct mtd_info *mtd, loff_t ofs); -int mtd_all_ff(const void *buf, unsigned int len); +int mtd_buf_all_ff(const void *buf, unsigned int len); /* * Debugging macro and defines |