]> Pileus Git - ~andy/linux/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)
commite8d39240d635ed9bcaddbec898b1c9f063c5dbb2
tree503811b157090fa862961a70539df4e52fee1196
parent57d1617137dd61825a3a7cebf61015f58afce510
thermal: cpu_cooling: fix stub function

The function stub for cpufreq_cooling_get_level introduced
in 57df81069 "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