commit | 694bb7fc19c6b87e106f4c85a2707072e2f111a0 | [log] [tgz] |
---|---|---|
author | Kevin Cernekee <kpc.mtd@gmail.com> | Fri Apr 03 13:00:45 2009 -0700 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Sat Apr 04 14:32:39 2009 +0100 |
tree | 7c5e2f4cfbe89fee0779b8d7d92b51a84a276747 | |
parent | 1f24b5a8ecbb2a3c7080f418974d40e3ffedb221 [diff] |
[MTD] driver model updates (part 2) 1) Add more sysfs attributes: flags, size, erasesize, writesize, oobsize, numeraseregions, name 2) Move core_initcall() code into init_mtd(). The original approach does not work if CONFIG_MTD=m . 3) Add device_unregister() in del_mtd_device() so that devices get removed from sysfs as each driver is unloaded. Signed-off-by: Kevin Cernekee <kpc.mtd@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>