modules: do not try to add sysfs attributes if !CONFIG_SYSFS
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 20 Feb 2008 23:33:20 +0000 (00:33 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Feb 2008 23:27:08 +0000 (15:27 -0800)
commit120fc3d77acfd91f3521737a440d42839c475982
tree8f13e2fbad7f5aeafcf0a2bf6a235bddcbede6a3
parent58dc3232ff77158460f79e3c1932b81e8a2a0194
modules: do not try to add sysfs attributes if !CONFIG_SYSFS

Thanks to Alexey for the testing and the fix of the fix.

Cc: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/module.c