Messages in this thread | | | Date | Wed, 4 Mar 2015 16:02:15 +0000 | From | Javi Merino <> | Subject | Re: [PATCH] thermal: Fix build for !CONFIG_THERMAL |
| |
Hi Mark,
On Wed, Mar 04, 2015 at 12:05:39PM +0000, Mark Brown wrote: > Commit ddd4dd8ddf784 (thermal: extend the cooling device API to include > power information) added stubs for newly introduced functions when > !CONFIG_THERMAL but did not provide names for the parameters which is > a syntax error causing build errors in such configurations. Add names to > fix the issue. > > Also remove an extra semicolon from power_actor_set_power() which also > breaks the build and declare the functions as static inline to avoid > both multiple definitions and sparse warnings. > > Signed-off-by: Mark Brown <broonie@kernel.org>
This is already fixed in Eduardo's tree, but apparently the fix went in after linux-next merged its branch. It will be picked when linux-next merges it again.
Thanks, Javi
| |