Re: ath10k: add const to thermal_cooling_device_ops structure
From: Kalle Valo
Date: Wed Jun 28 2017 - 12:54:21 EST
Bhumika Goyal <bhumirks@xxxxxxxxx> wrote:
> Declare thermal_cooling_device_ops structure as const as it is only passed
> as an argument to the function thermal_cooling_device_register and this
> argument is of type const. So, declare the structure as const.
>
> Signed-off-by: Bhumika Goyal <bhumirks@xxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx>
Patch applied to ath-next branch of ath.git, thanks.
1cdb6c9fd433 ath10k: add const to thermal_cooling_device_ops structure
--
https://patchwork.kernel.org/patch/9801291/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches