diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-02-09 10:13:29 -0800 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-02-14 11:00:09 +0200 |
commit | eded3cd0a52252f677ceacd1fbcae13be3d55e8f (patch) | |
tree | 3b42b49e75a63871440b1e1969ce5ce2bc24134f /ftl_format.c | |
parent | cc2e57ba328951dca3c34bea2c5d2d3409b16b29 (diff) |
limbtd: implement mtd_dev_present for old kernels
Implement the 'legacy_dev_present()' function which will check whether an MTD
device is present by scanning the /proc/mtd file when the MTD subsystem does
not support sysfs (the case for pre-2.6.30 kernels).
This patch also moves the 'mtd_dev_present()' function to a slightly more
logical position.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'ftl_format.c')
0 files changed, 0 insertions, 0 deletions