diff options
author | 2009-04-03 13:00:45 -0700 | |
---|---|---|
committer | 2009-04-04 14:32:39 +0100 | |
commit | 694bb7fc19c6b87e106f4c85a2707072e2f111a0 (patch) | |
tree | 7c5e2f4cfbe89fee0779b8d7d92b51a84a276747 /arch/x86/mm/fault.c | |
parent | [MTD] driver model updates (diff) | |
download | linux-dev-694bb7fc19c6b87e106f4c85a2707072e2f111a0.tar.xz linux-dev-694bb7fc19c6b87e106f4c85a2707072e2f111a0.zip |
[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 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions