cpufreq: schedutil: Make default depend on CONFIG_SMP
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 May 2016 12:52:01 +0000 (14:52 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 11 May 2016 20:47:44 +0000 (22:47 +0200)
CPU_FREQ_GOV_SCHEDUTIL gained a dependency on SMP, so now we
get a warning if it gets selected by CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
without SMP:

warning: (CPU_FREQ_DEFAULT_GOV_SCHEDUTIL) selects CPU_FREQ_GOV_SCHEDUTIL which has unmet direct dependencies (CPU_FREQ && SMP)

This adds another dependency to avoid the problem.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: bf7cdff19429 (cpufreq: schedutil: Make it depend on CONFIG_SMP)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/Kconfig

index e9849b4394142ad899306fd8062fee142115689e..b72c7d71c4ab6b1ad8e76624f08698e1aa4c3da9 100644 (file)
@@ -110,6 +110,7 @@ config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
 
 config CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
        bool "schedutil"
+       depends on SMP
        select CPU_FREQ_GOV_SCHEDUTIL
        select CPU_FREQ_GOV_PERFORMANCE
        help