@@ -290,7 +290,7 @@ static const struct thermal_zone_of_device_ops bcm7445_thermal_of_ops = {
290
290
.set_trips = brcmstb_set_trips ,
291
291
};
292
292
293
- static const struct thermal_zone_of_device_ops bcm2838_thermal_of_ops = {
293
+ static const struct thermal_zone_of_device_ops bcm2711_thermal_of_ops = {
294
294
.get_temp = brcmstb_get_temp ,
295
295
};
296
296
@@ -301,8 +301,8 @@ static const struct brcmstb_thermal_of_data bcm7445_thermal_of_data = {
301
301
.status_data_shift = 1 ,
302
302
};
303
303
304
- static const struct brcmstb_thermal_of_data bcm2838_thermal_of_data = {
305
- .of_ops = & bcm2838_thermal_of_ops ,
304
+ static const struct brcmstb_thermal_of_data bcm2711_thermal_of_data = {
305
+ .of_ops = & bcm2711_thermal_of_ops ,
306
306
.status_valid_mask = BIT (10 ),
307
307
.status_data_mask = GENMASK (9 , 0 ),
308
308
.status_data_shift = 0 ,
@@ -311,8 +311,8 @@ static const struct brcmstb_thermal_of_data bcm2838_thermal_of_data = {
311
311
static const struct of_device_id brcmstb_thermal_id_table [] = {
312
312
{ .compatible = "brcm,avs-tmon" ,
313
313
.data = & bcm7445_thermal_of_data },
314
- { .compatible = "brcm,avs-tmon-bcm2838 " ,
315
- .data = & bcm2838_thermal_of_data },
314
+ { .compatible = "brcm,avs-tmon-bcm2711 " ,
315
+ .data = & bcm2711_thermal_of_data },
316
316
{},
317
317
};
318
318
MODULE_DEVICE_TABLE (of , brcmstb_thermal_id_table );
0 commit comments