a5a1609790be2b5d252456a74b1031ef4f724c34
[openwrt/staging/ldir.git] /
1 From f5f8d5aeea1919d587de22a2bfa5ba4db8a32ef1 Mon Sep 17 00:00:00 2001
2 From: Sandor Yu <Sandor.yu@nxp.com>
3 Date: Fri, 20 Dec 2019 17:11:20 +0800
4 Subject: [PATCH] LF-568-1: drm: bridge: cdns: dp: change bridge_enable/disable
5 name
6
7 Change the bridge_enable/disable function name.
8
9 Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
10 Reviewed-by: Robby Cai <robby.cai@nxp.com>
11 ---
12 drivers/gpu/drm/bridge/cadence/cdns-dp-core.c | 8 ++++----
13 1 file changed, 4 insertions(+), 4 deletions(-)
14
15 --- a/drivers/gpu/drm/bridge/cadence/cdns-dp-core.c
16 +++ b/drivers/gpu/drm/bridge/cadence/cdns-dp-core.c
17 @@ -324,7 +324,7 @@ static void cdns_dp_bridge_mode_set(stru
18 mutex_unlock(&mhdp->lock);
19 }
20
21 -static void cdn_hdp_bridge_enable(struct drm_bridge *bridge)
22 +static void cdn_dp_bridge_enable(struct drm_bridge *bridge)
23 {
24 struct cdns_mhdp_device *mhdp = bridge->driver_private;
25 int ret;
26 @@ -345,7 +345,7 @@ static void cdn_hdp_bridge_enable(struct
27 }
28 }
29
30 -static void cdn_hdp_bridge_disable(struct drm_bridge *bridge)
31 +static void cdn_dp_bridge_disable(struct drm_bridge *bridge)
32 {
33 struct cdns_mhdp_device *mhdp = bridge->driver_private;
34
35 @@ -354,8 +354,8 @@ static void cdn_hdp_bridge_disable(struc
36
37 static const struct drm_bridge_funcs cdns_dp_bridge_funcs = {
38 .attach = cdns_dp_bridge_attach,
39 - .enable = cdn_hdp_bridge_enable,
40 - .disable = cdn_hdp_bridge_disable,
41 + .enable = cdn_dp_bridge_enable,
42 + .disable = cdn_dp_bridge_disable,
43 .mode_set = cdns_dp_bridge_mode_set,
44 .mode_valid = cdns_dp_bridge_mode_valid,
45 };