]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: cpu_cooling: fix stub function
authorArnd Bergmann <arnd@arndb.de>
Fri, 5 Jul 2013 15:40:13 +0000 (17:40 +0200)
committerEduardo Valentin <eduardo.valentin@ti.com>
Mon, 8 Jul 2013 14:13:40 +0000 (10:13 -0400)
commit02a589fbc944d4b21ff295ca24779975b257917d
tree503811b157090fa862961a70539df4e52fee1196
parent50e031eacc19a3a9dc564a05153a3fb77124e67d
thermal: cpu_cooling: fix stub function

The function stub for cpufreq_cooling_get_level introduced
in 2e52f04af "Thermal: exynos: fix cooling state translation"
is not syntactically correct C and needs to be fixed to avoid
this error:

In file included from drivers/thermal/db8500_thermal.c:20:0:
 include/linux/cpu_cooling.h: In function 'cpufreq_cooling_get_level':
include/linux/cpu_cooling.h:57:1:
 error: parameter name omitted  unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int)  ^
 include/linux/cpu_cooling.h:57:1: error: parameter name omitted

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Amit Daniel kachhap <amit.daniel@samsung.com>
Cc: stable@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
include/linux/cpu_cooling.h