commit | fc002e3c320602d0e206f607aca0460540d7637a | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Wed Dec 28 18:35:07 2011 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Jan 09 18:26:08 2012 +0000 |
tree | 59a0a24c3f842da192febfcc5de263a339f1dcc5 | |
parent | 33c87b4a2c820316314542ce3f60b8a8c6a96928 [diff] |
mtd: introduce mtd_has_oob helper We are working in the direction of making sure that MTD clients to not use 'mtd->func' pointers directly. In some places we want to know if OOB operations are supported by an MTD device. Introduce 'mtd_has_oob()' helper for these purposes. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>