summaryrefslogtreecommitdiff
path: root/drivers/mtd/cmdlinepart.c
diff options
context:
space:
mode:
authorKevin Cernekee <kpc.mtd@gmail.com>2009-04-03 13:00:45 -0700
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-04-04 14:32:39 +0100
commit694bb7fc19c6b87e106f4c85a2707072e2f111a0 (patch)
tree7c5e2f4cfbe89fee0779b8d7d92b51a84a276747 /drivers/mtd/cmdlinepart.c
parent1f24b5a8ecbb2a3c7080f418974d40e3ffedb221 (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>
Diffstat (limited to 'drivers/mtd/cmdlinepart.c')
0 files changed, 0 insertions, 0 deletions