]> git.baikalelectronics.ru Git - kernel.git/commit
[MTD] sysfs support should not depend on CONFIG_PROC_FS
authorKevin Cernekee <kpc.mtd@gmail.com>
Sat, 4 Apr 2009 18:03:04 +0000 (11:03 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Apr 2009 21:52:08 +0000 (22:52 +0100)
commit85ed2f79ba6c7c7b474d28d335e7d17c823d7069
treeb6e60e99ef7a7d516bd36fa8cd6f1bb6d21e1e7f
parent1add57a5907732078cbcdc9bedd3b6effd3dd814
[MTD] sysfs support should not depend on CONFIG_PROC_FS

Move the driver model init code out of the "#ifdef CONFIG_PROC_FS"
block.

Tested with both values of CONFIG_PROC_FS .  Tested with CONFIG_MTD=m .

Issue was reported here: http://lkml.org/lkml/2009/4/4/107

Signed-off-by: Kevin Cernekee <kpc.mtd@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdcore.c