summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-09-22 23:19:41 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-23 22:53:58 +0300
commit0854fa22b9dc43cb4a4140938849dc9fd2427e3a (patch)
tree76766977e07a9e0b5c004e3b01cf7d8ef207bb6c /include/linux
parent69fea2b4e59c52844cf5196c9c81157792d194fb (diff)
downloadlinux-0854fa22b9dc43cb4a4140938849dc9fd2427e3a.tar.xz
counter: microchip-tcb-capture: Constify mchp_tc_ops
The only usage of mchp_tc_ops is to assign its address to the ops field in the counter_device struct which is a const pointer. Make it const to allow the compiler to put it in read-only memory. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com> Link: https://lore.kernel.org/r/20200922201941.41328-1-rikard.falkeborn@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions