From: Artem Bityutskiy Date: Wed, 28 Dec 2011 15:27:18 +0000 (+0200) Subject: mtd: mtdoops: do not use mtd->panic_write directly X-Git-Tag: v3.3-rc1~119^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=016c1291ce70a22f15f666441a4fd2f0b450375b;p=pandora-kernel.git mtd: mtdoops: do not use mtd->panic_write directly Instead of checking if 'mtd->panic_write' is defined, call 'mtd_panic_write()' and check the error code - '-EOPNOTSUPP' will be returned if the function is not defined. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed