mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
mtd: introduce mtd_get_unmapped_area interface
Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
This commit is contained in:
parent
7219778ad9
commit
04c601bfa4
5 changed files with 18 additions and 11 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue