]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
PM: Fix unmet dependency warning from kconfig
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 12 Sep 2010 19:40:01 +0000 (21:40 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sat, 16 Oct 2010 23:57:42 +0000 (01:57 +0200)
Fix the following build warning:

warning: (PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || \
ARCH_HIBERNATION_POSSIBLE) && PM_SLEEP) selects HOTPLUG_CPU which \
has unmet direct dependencies (SMP && HOTPLUG)

by selecting HOTPLUG along with CPU_HOTPLUG.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
kernel/power/Kconfig

index cb57eb99215f71c7f176c517974bf0029158c9dd..e45894c696ee37e0bd11618452a2737be501955f 100644 (file)
@@ -86,6 +86,7 @@ config PM_SLEEP_SMP
        depends on SMP
        depends on ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE
        depends on PM_SLEEP
+       select HOTPLUG
        select HOTPLUG_CPU
        default y