mtd: introduce mtd_get_unmapped_area interface
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
committed by
David Woodhouse
parent
7219778ad9
commit
04c601bfa4
@@ -53,7 +53,7 @@ static unsigned long romfs_get_unmapped_area(struct file *file,
|
||||
if (offset > mtd->size - len)
|
||||
return (unsigned long) -EINVAL;
|
||||
|
||||
return mtd->get_unmapped_area(mtd, len, offset, flags);
|
||||
return mtd_get_unmapped_area(mtd, len, offset, flags);
|
||||
}
|
||||
|
||||
cant_map_directly:
|
||||
|
||||
Reference in New Issue
Block a user