diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-11-25 19:50:20 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-28 16:24:21 +0300 |
commit | 7a3ba767f6bf9d98f1c823417908719af4a22a65 (patch) | |
tree | 06f389328ab4954b786fddb1af1096a360e78d06 /lib/percpu-refcount.c | |
parent | 8442885fca09b2d26375b9fe507759879a6f661e (diff) | |
download | linux-7a3ba767f6bf9d98f1c823417908719af4a22a65.tar.xz |
cpufreq: intel_pstate: fix intel_pstate_exit_perf_limits() prototype
The addition of the generic governor support marked the
intel_pstate_exit_perf_limits as inline(), which fixed a warning,
but it introduced another warning:
drivers/cpufreq/intel_pstate.c: In function ‘intel_pstate_exit_perf_limits’:
drivers/cpufreq/intel_pstate.c:483:1: error: no return statement in function returning non-void [-Werror=return-type]
This changes it back to a 'void' return type, and changes the
corresponding intel_pstate_init_acpi_perf_limits() function to
be inline as well for consistency.
Fixes: 001c76f05b01 (cpufreq: intel_pstate: Generic governors support)
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/percpu-refcount.c')
0 files changed, 0 insertions, 0 deletions