diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2011-12-23 10:05:52 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-01-09 13:25:17 -0500 |
commit | 7219778ad9c18cc2c05c7fca0abe026afbc19dfb (patch) | |
tree | 509a11bf7f7ebeef9a4236901adf53e507d1455b /drivers/mtd | |
parent | d35ea200c0fb5315f16fb2599a4bafd9c1a7b386 (diff) |
mtd: introduce mtd_unpoint interface
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/mtdpart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index 5b664722e5b0..b09624a5497c 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c | |||
@@ -97,7 +97,7 @@ static void part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) | |||
97 | { | 97 | { |
98 | struct mtd_part *part = PART(mtd); | 98 | struct mtd_part *part = PART(mtd); |
99 | 99 | ||
100 | part->master->unpoint(part->master, from + part->offset, len); | 100 | mtd_unpoint(part->master, from + part->offset, len); |
101 | } | 101 | } |
102 | 102 | ||
103 | static unsigned long part_get_unmapped_area(struct mtd_info *mtd, | 103 | static unsigned long part_get_unmapped_area(struct mtd_info *mtd, |