UBI: add mtd_num sysfs attribute
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 26 Dec 2007 11:46:46 +0000 (13:46 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 26 Dec 2007 17:15:17 +0000 (19:15 +0200)
commitb6b76ba466bbd47397efad0fdaeaa5ebf7d462c7
tree06af1b32c201abdc87bb852c5ba10c8acccaf9bc
parentd1f3dd6cc00f5bf744118fb2820ecdf09a1f4b73
UBI: add mtd_num sysfs attribute

Expose number or the underlying MTD device in sysfs.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c