Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1676983
| From | Kalle Valo <kvalo@qca.qualcomm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: ath10k: add const to thermal_cooling_device_ops structure |
| Date | 2017-06-28 20:00 +0200 |
| Message-ID | <tXpq4-t5-199@gated-at.bofh.it> (permalink) |
| References | <tUK7x-4ih-51@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Bhumika Goyal <bhumirks@gmail.com> 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@gmail.com> > Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> 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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] ath10k: add const to thermal_cooling_device_ops structure Bhumika Goyal <bhumirks@gmail.com> - 2017-06-21 11:30 +0200 Re: ath10k: add const to thermal_cooling_device_ops structure Kalle Valo <kvalo@qca.qualcomm.com> - 2017-06-28 20:00 +0200
csiph-web