From: Artem Bityutskiy Date: Fri, 30 Dec 2011 12:31:57 +0000 (+0200) Subject: mtd: do not use mtd->get_unmapped_area directly X-Git-Tag: v3.3-rc1~119^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd621274b0ec747db8dedbf857624c067f481976;p=pandora-kernel.git 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 Signed-off-by: David Woodhouse --- Reading git-diff-tree failed