mtd: blktrans: allow FTL drivers to export sysfs attributes
commit026ec57886b67c092bf7baecd029a7c1c4998c28
authorMaxim Levitsky <maximlevitsky@gmail.com>
Mon, 22 Feb 2010 18:39:33 +0000 (22 20:39 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 26 Feb 2010 17:37:40 +0000 (26 17:37 +0000)
tree661a61956e03482a9efc1fa26ef41d2a53d755fa
parent75c0b84d41c6f08c0cb083464907005683ef2920
mtd: blktrans: allow FTL drivers to export sysfs attributes

This patch adds an ability to export sysfs attributes below
the block disk device.

This can be used to pass the udev an information about the FTL
and could include the vendor, serial, version, etc...

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtd_blkdevs.c
include/linux/mtd/blktrans.h