[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)
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>

No differences found