Skip to content

Commit 6642a4f

Browse files
pelwellpopcornmix
authored andcommitted
thermal: brcmstb_thermal: Correct SoC name
The Pi 4 SoC is called BCM2711, not BCM2838. Fixes: "thermal: brcmstb_thermal: Add BCM2838 support" Signed-off-by: Phil Elwell <[email protected]>
1 parent 26156bf commit 6642a4f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/thermal/broadcom/brcmstb_thermal.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ static const struct thermal_zone_of_device_ops bcm7445_thermal_of_ops = {
290290
.set_trips = brcmstb_set_trips,
291291
};
292292

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 = {
294294
.get_temp = brcmstb_get_temp,
295295
};
296296

@@ -301,8 +301,8 @@ static const struct brcmstb_thermal_of_data bcm7445_thermal_of_data = {
301301
.status_data_shift = 1,
302302
};
303303

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,
306306
.status_valid_mask = BIT(10),
307307
.status_data_mask = GENMASK(9, 0),
308308
.status_data_shift = 0,
@@ -311,8 +311,8 @@ static const struct brcmstb_thermal_of_data bcm2838_thermal_of_data = {
311311
static const struct of_device_id brcmstb_thermal_id_table[] = {
312312
{ .compatible = "brcm,avs-tmon",
313313
.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 },
316316
{},
317317
};
318318
MODULE_DEVICE_TABLE(of, brcmstb_thermal_id_table);

0 commit comments

Comments
 (0)