From: Cornelia Huck Date: Fri, 20 Jul 2007 11:58:13 +0000 (+0200) Subject: kobject: fix link error when CONFIG_HOTPLUG is disabled X-Git-Tag: v2.6.23-rc2~150^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd030c4cb3ee0cd4f0589a5f723d358cca1f7a9a;p=pandora-kernel.git kobject: fix link error when CONFIG_HOTPLUG is disabled Leaving kobject_actions[] in kobject_uevent.c, but putting it outside the #ifdef looks indeed like the best solution to me. This way, we avoid adding #ifdef CONFIG_HOTPLUG into core.c, when all other functions called do not need such a thing. Signed-off-by: Cornelia Huck Cc: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed