[PATCH v2 03/26] drm/bridge/analogix: core: specify the owner .odev of the bridge

From: Peter Rosin
Date: Fri May 04 2018 - 10:06:36 EST


This will become mandatory.

Signed-off-by: Peter Rosin <peda@xxxxxxxxxx>
---
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
index 2bcbfadb6ac5..c60f29216213 100644
--- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
+++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
@@ -1467,6 +1467,7 @@ static int analogix_dp_create_bridge(struct drm_device *drm_dev,

dp->bridge = bridge;

+ bridge->odev = dp->dev;
bridge->driver_private = dp;
bridge->funcs = &analogix_dp_bridge_funcs;

--
2.11.0