]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: qoriq: allow building as module with THERMAL=m
authorArnd Bergmann <arnd@arndb.de>
Mon, 29 Feb 2016 16:04:20 +0000 (17:04 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 1 Mar 2016 01:43:05 +0000 (02:43 +0100)
commit8862c9aaabfe2ac0a71e57859bbd9e40acade35a
tree8713414cbfbb7ba02a04dd4f8ab42dd9411b81e1
parentb4c6e182f5b636364ef191076c0c02fb76bae986
cpufreq: qoriq: allow building as module with THERMAL=m

My previous patch to avoid link errors with the qoriq cpufreq
driver disallowed all of the broken cases, but also prevented
the driver from being built when CONFIG_THERMAL is a module.

This changes the dependency to allow the cpufreq driver to
also be a module in this case, just not built-in.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: aa08cff70725 (cpufreq: qoriq: Register cooling device based on device tree)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/Kconfig