cpufreq: loongson2_cpufreq: adjust cpufreq uses of LOONGSON_CHIPCFG
authorAlexandre Oliva <lxoliva@fsfla.org>
Tue, 21 Jan 2020 12:30:45 +0000 (09:30 -0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 22 Jan 2020 23:39:37 +0000 (00:39 +0100)
commit1250c1a568ca33e9c9b586b99a763277684c6899
tree417362d2209650a9d62648ee499469a99306b70a
parent731e6b9753baa39074060221a76de97058c0ac2e
cpufreq: loongson2_cpufreq: adjust cpufreq uses of LOONGSON_CHIPCFG

The post-fork cleanup of loongson2ef from loongson64 changed
LOONGSON_CHIPCFG from a single-argument functional macro to a
non-functional macro with an mmio address in loongson2ef, but
loongson2_cpufreq still uses the notation of a functional macro call
expecting it to be an lvalue.  Fixed based on loongson_suspend_enter.

Signed-off-by: Alexandre Oliva <lxoliva@fsfla.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/loongson2_cpufreq.c