diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-07-29 15:14:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-29 16:12:49 -0400 |
commit | 3348e05a4f25489908d9f7ed4e80ac291ead18f4 (patch) | |
tree | 609f4e182548ebe2609262404b56b5fb07615c19 /lib | |
parent | 9ca1eb3282b6050c295adb296761f8d26baf4ca5 (diff) |
[PATCH] DEBUG_FS must depend on SYSFS
CONFIG_DEBUG_FS=y and CONFIG_SYSFS=n results in the following compile
error:
<-- snip -->
...
LD vmlinux
fs/built-in.o: In function `debugfs_init':
inode.c:(.init.text+0x31be): undefined reference to `kernel_subsys'
make: *** [vmlinux] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 0c421295e613..299f7f3b5b08 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -141,7 +141,7 @@ config DEBUG_IOREMAP | |||
141 | 141 | ||
142 | config DEBUG_FS | 142 | config DEBUG_FS |
143 | bool "Debug Filesystem" | 143 | bool "Debug Filesystem" |
144 | depends on DEBUG_KERNEL | 144 | depends on DEBUG_KERNEL && SYSFS |
145 | help | 145 | help |
146 | debugfs is a virtual file system that kernel developers use to put | 146 | debugfs is a virtual file system that kernel developers use to put |
147 | debugging files into. Enable this option to be able to read and | 147 | debugging files into. Enable this option to be able to read and |