]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit45b09076149f1360e15919ca7e004e8d3810a0f7
treeb6e60e99ef7a7d516bd36fa8cd6f1bb6d21e1e7f
parentc451c7c4c9c4f59c7808a7d397d32bef160c14d9
[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