4436c0a39d775075c1b89eba27eb5267fcbfebf1
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0427-staging-vchiq_arm-Fix-bcm2711-compatible-string.patch
1 From 871370c31c23fcd07ec375a088bd09a0a5a31126 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Fri, 31 Jan 2020 09:26:18 +0000
4 Subject: [PATCH] staging/vchiq_arm: Fix bcm2711 compatible string
5
6 Fixes: "vchiq: Add 36-bit address support"
7
8 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
9 ---
10 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
14 +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
15 @@ -151,7 +151,7 @@ static struct vchiq_drvdata bcm2836_drvd
16 .cache_line_size = 64,
17 };
18
19 -static struct vchiq_drvdata bcm2838_drvdata = {
20 +static struct vchiq_drvdata bcm2711_drvdata = {
21 .cache_line_size = 64,
22 .use_36bit_addrs = true,
23 };
24 @@ -3171,7 +3171,7 @@ void vchiq_platform_conn_state_changed(s
25 static const struct of_device_id vchiq_of_match[] = {
26 { .compatible = "brcm,bcm2835-vchiq", .data = &bcm2835_drvdata },
27 { .compatible = "brcm,bcm2836-vchiq", .data = &bcm2836_drvdata },
28 - { .compatible = "brcm,bcm2838-vchiq", .data = &bcm2838_drvdata },
29 + { .compatible = "brcm,bcm2711-vchiq", .data = &bcm2711_drvdata },
30 {},
31 };
32 MODULE_DEVICE_TABLE(of, vchiq_of_match);