From: Randy Dunlap Date: Mon, 31 Dec 2007 18:05:43 +0000 (-0800) Subject: driver core: fix build with SYSFS=n X-Git-Tag: v2.6.25-rc1~1243^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92b421416f8194aec87b1439487b5544e9ac8187;p=pandora-kernel.git driver core: fix build with SYSFS=n When SYSFS=n and MODULES=y, build ends with: linux-2.6.24-rc6-mm1/drivers/base/module.c: In function 'module_add_driver': linux-2.6.24-rc6-mm1/drivers/base/module.c:49: error: 'module_kset' undeclared (first use in this function) make[3]: *** [drivers/base/module.o] Error 1 Below is one possible fix. Build-tested with all 4 config combinations of SYSFS & MODULES. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed