commit | cd621274b0ec747db8dedbf857624c067f481976 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Fri Dec 30 14:31:57 2011 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Jan 09 18:26:10 2012 +0000 |
tree | 1d86dd22d4133fc45311168d1b012e8103b4f875 | |
parent | 10934478e44d9a5a7b16dadd89094fb608cf101e [diff] |
mtd: do not use mtd->get_unmapped_area directly Remove direct usage of mtd->get_unmapped_area. Instead, just call 'mtd_get_unmapped_area()' which will return -EOPNOTSUPP if the function is not implemented and test for this error code. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>