Re: [PATCH] thermal: Fix build for !CONFIG_THERMAL

From: Javi Merino
Date: Wed Mar 04 2015 - 11:02:25 EST


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@xxxxxxxxxx>

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/