From: Russell King Date: Sat, 14 Jan 2006 20:01:02 +0000 (+0000) Subject: [PATCH] Fix compiler warning in driver core for CONFIG_HOTPLUG=N X-Git-Tag: v2.6.16-rc3~97^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e485981e52b476c1b6a00873c2f8b75b3168718f;p=pandora-kernel.git [PATCH] Fix compiler warning in driver core for CONFIG_HOTPLUG=N FYI, while running a build test, I found: drivers/base/bus.c:166: warning: `driver_attr_unbind' defined but not used drivers/base/bus.c:194: warning: `driver_attr_bind' defined but not used Looks like these two attributes and supporting functions want to be #ifdef HOTPLUG'd Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed