浏览代码

driver core: documentation: make it clear that sysfs is optional

The original text suggested that sysfs is mandatory and always
compiled in the kernel.

Signed-off-by: Lucian Adrian Grijincu <lgrijincu@ixiacom.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Lucian Adrian Grijincu 16 年之前
父节点
当前提交
a39ea210ec
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Documentation/filesystems/sysfs.txt

+ 2 - 1
Documentation/filesystems/sysfs.txt

@@ -23,7 +23,8 @@ interface.
 Using sysfs
 Using sysfs
 ~~~~~~~~~~~
 ~~~~~~~~~~~
 
 
-sysfs is always compiled in. You can access it by doing:
+sysfs is always compiled in if CONFIG_SYSFS is defined. You can access
+it by doing:
 
 
     mount -t sysfs sysfs /sys 
     mount -t sysfs sysfs /sys