Message ID | 163455756445.25758.15774779720456234515.tip-bot2@tip-bot2 (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | [thermal:,thermal/next] thermal/drivers/thermal_mmio: Constify static struct thermal_mmio_ops | expand |
diff --git a/drivers/thermal/thermal_mmio.c b/drivers/thermal/thermal_mmio.c index ded1dd0..360b0df 100644 --- a/drivers/thermal/thermal_mmio.c +++ b/drivers/thermal/thermal_mmio.c @@ -34,7 +34,7 @@ static int thermal_mmio_get_temperature(void *private, int *temp) return 0; } -static struct thermal_zone_of_device_ops thermal_mmio_ops = { +static const struct thermal_zone_of_device_ops thermal_mmio_ops = { .get_temp = thermal_mmio_get_temperature, };