aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdnsp-mem.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2021-11-28 21:19:16 +0100
committerLucas Stach <l.stach@pengutronix.de>2021-12-01 13:27:51 +0100
commit96894b79596756d71a3e6af5ae6fc5238e058e77 (patch)
treecfcd06aba736ce3405d58dfc7a84441f03f31288 /drivers/usb/cdns3/cdnsp-mem.c
parentf5be833dc86f49637b65b7989a9ee49ac08f7da6 (diff)
drm/etnaviv: constify static struct cooling_ops
The only usage of cooling_ops is to pass its address to thermal_of_cooling_device_register(), which takes a pointer to const struct thermal_cooling_device_ops as input. Make it const to allow the compiler to put it in read-only memory. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-mem.c')
0 files changed, 0 insertions, 0 deletions