aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-02-03 07:35:56 -0700
committerSimon Glass <sjg@chromium.org>2020-02-05 19:33:46 -0700
commit8d38a8459b0de45f5ff41f3e11c278a5cf395fd0 (patch)
tree77c881a74dae7b2e99a739c684a87dd417848f9a /include/linux/mtd
parentaae95882232a24ee49c89d0356febf3685a87c8a (diff)
downloadu-boot-8d38a8459b0de45f5ff41f3e11c278a5cf395fd0.zip
u-boot-8d38a8459b0de45f5ff41f3e11c278a5cf395fd0.tar.gz
u-boot-8d38a8459b0de45f5ff41f3e11c278a5cf395fd0.tar.bz2
mtd: Rename free() to rfree()
This function name conflicts with our desire to #define free() to something else on sandbox. Since it deals with resources, rename it to rfree(). Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/mtd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index ceffd99..1b91517 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -129,8 +129,8 @@ struct mtd_oob_region {
struct mtd_ooblayout_ops {
int (*ecc)(struct mtd_info *mtd, int section,
struct mtd_oob_region *oobecc);
- int (*free)(struct mtd_info *mtd, int section,
- struct mtd_oob_region *oobfree);
+ int (*rfree)(struct mtd_info *mtd, int section,
+ struct mtd_oob_region *oobfree);
};
/*