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
@@ -726,8 +726,8 @@ static unsigned long concat_get_unmapped_area(struct mtd_info *mtd,
|
||||
return (unsigned long) -EINVAL;
|
||||
|
||||
if (subdev->get_unmapped_area)
|
||||
return subdev->get_unmapped_area(subdev, len, offset,
|
||||
flags);
|
||||
return mtd_get_unmapped_area(subdev, len, offset,
|
||||
flags);
|
||||
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user