struct gpio_desc *oe;
struct drm_bridge bridge;
- struct drm_bridge *next;
struct drm_bridge_timings timings;
};
{
struct thc63_dev *thc63 = to_thc63(bridge);
- return drm_bridge_attach(encoder, thc63->next, bridge, flags);
+ return drm_bridge_attach(encoder, thc63->bridge.next_bridge, bridge, flags);
}
static enum drm_mode_status thc63_mode_valid(struct drm_bridge *bridge,
return -ENODEV;
}
- thc63->next = of_drm_find_bridge(remote);
+ thc63->bridge.next_bridge = of_drm_find_and_get_bridge(remote);
of_node_put(remote);
- if (!thc63->next)
+ if (!thc63->bridge.next_bridge)
return -EPROBE_DEFER;
endpoint = of_graph_get_endpoint_by_regs(thc63->dev->of_node,