kobject: fix link error when CONFIG_HOTPLUG is disabled
commitcd030c4cb3ee0cd4f0589a5f723d358cca1f7a9a
authorCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 20 Jul 2007 11:58:13 +0000 (20 13:58 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 30 Jul 2007 21:25:11 +0000 (30 14:25 -0700)
treea4ac7389ed9adbc0aaeb80c019b135fa14b545f1
parent8b43626f0cdfb3154c57d52e732679c9d3484369
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 <cornelia.huck@de.ibm.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/kobject_uevent.c