From: Kevin Cernekee Date: Fri, 3 Apr 2009 20:00:45 +0000 (-0700) Subject: [MTD] driver model updates (part 2) X-Git-Tag: v2.6.30-rc1~143^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=694bb7fc19c6b87e106f4c85a2707072e2f111a0;p=pandora-kernel.git [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 Signed-off-by: David Woodhouse --- Reading git-diff-tree failed