]> err.no Git - linux-2.6/commit
sysfs: fix build errors: uevent with CONFIG_SYSFS=n
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 13 Feb 2007 23:19:06 +0000 (15:19 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Feb 2007 23:19:18 +0000 (15:19 -0800)
commitef665c1a06be719ed9a6b0ad7967137258d9457a
treeaff01a8a9ae3617fdfd1f2931aa62799f0988610
parente4a3c3f095ecc760fc557ca87e518e2e553fab4b
sysfs: fix build errors: uevent with CONFIG_SYSFS=n

Fix source files to build with CONFIG_SYSFS=n.
module_subsys is not available.

SYSFS=n, MODULES=y: T:y
SYSFS=n, MODULES=n: T:y

SYSFS=y, MODULES=y: T:y
SYSFS=y, MODULES=n: T:y

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/module.h
include/linux/moduleparam.h
kernel/module.c
kernel/params.c