Re: ath10k: add const to thermal_cooling_device_ops structure
From: Kalle Valo <hidden>
Date: 2017-06-28 16:54:16
Also in:
lkml, netdev
From: Kalle Valo <hidden>
Date: 2017-06-28 16:54:16
Also in:
lkml, netdev
Bhumika Goyal [off-list ref] 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 <redacted> Signed-off-by: Kalle Valo <redacted>
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