Subject: [PATCH v2] thermal: cpu_cooling: fix stub function

From: [email-masked] (Arnd Bergmann)
Date: Wed, 8 May 2013 14:12:13 +0200

On Thursday 02 May 2013, Eduardo Valentin wrote:
> Rui, Arnd,
> 
> On 02-05-2013 12:29, Arnd Bergmann wrote:
> > 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
> > 
> > Cc: Eduardo Valentin <[email-masked]>
> > Cc: Zhang Rui <[email-masked]>
> > Cc: Amit Daniel kachhap <[email-masked]>
> > Signed-off-by: Arnd Bergmann <[email-masked]>
> 
> Acked-by: Eduardo Valentin <[email-masked]>

Rui,

Could you please merge that into your thermal/next tree?  Right now,
linux-next fails to build because of this, and you probably don't
want to send the current version to Linus without fixing it.

	Arnd