diff options
author | Nicolas Pitre <nico@linaro.org> | 2017-11-08 00:29:48 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2017-11-13 23:39:18 +0300 |
commit | 9a5941080ef29f1a0347ac2766e4d93312123b21 (patch) | |
tree | dea958839855186686a3cea989b45a160b6781ca /include/linux/mtd | |
parent | 9eaa903c06f9f3129f862ef60ce106e4c3211288 (diff) | |
download | linux-9a5941080ef29f1a0347ac2766e4d93312123b21.tar.xz |
mtd: remove the get_unmapped_area method
It is now unused.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Richard Weinberger <richard@nod.at>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r-- | include/linux/mtd/mtd.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 849543f1f233..cd55bf14ad51 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -297,10 +297,6 @@ struct mtd_info { int (*_point) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, void **virt, resource_size_t *phys); int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len); - unsigned long (*_get_unmapped_area) (struct mtd_info *mtd, - unsigned long len, - unsigned long offset, - unsigned long flags); int (*_read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf); int (*_write) (struct mtd_info *mtd, loff_t to, size_t len, |