Driver core: exclude kobject_uevent.c for !CONFIG_HOTPLUG
commit5c5daf657cb5f963a38413f2852279d7a3843144
authorKay Sievers <kay.sievers@vrfy.org>
Sun, 12 Aug 2007 18:43:55 +0000 (12 20:43 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:06 +0000 (12 14:51 -0700)
treeec314c25ca40528bd4625944a93846d1654c9cd9
parent07c015e7654821f2dda00dcf152c65b2afd46ac3
Driver core: exclude kobject_uevent.c for !CONFIG_HOTPLUG

Move uevent specific logic from the core into kobject_uevent.c, which
does no longer require to link the unused string array if hotplug
is not compiled in.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c
include/linux/kobject.h
lib/Makefile
lib/kobject_uevent.c