The thermal_zone_of_device_ops structures can be const as they are only passed as the last argument of a thermal_zone_of_sensor_register function and the corresponding parameter is declared as const. Done with the help of Coccinelle. --- drivers/thermal/armada_thermal.c | 2 +- drivers/thermal/broadcom/brcmstb_thermal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)