Skip to content

Commit

Permalink
[PATCH] DEBUG_FS must depend on SYSFS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jul 29, 2005
1 parent 9ca1eb3 commit 3348e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ config DEBUG_IOREMAP

config DEBUG_FS
bool "Debug Filesystem"
depends on DEBUG_KERNEL
depends on DEBUG_KERNEL && SYSFS
help
debugfs is a virtual file system that kernel developers use to put
debugging files into. Enable this option to be able to read and
Expand Down

0 comments on commit 3348e05

Please sign in to comment.