|
@@ -29,6 +29,8 @@ int drm_of_find_panel_or_bridge(const struct device_node *np,
|
|
|
int port, int endpoint,
|
|
int port, int endpoint,
|
|
|
struct drm_panel **panel,
|
|
struct drm_panel **panel,
|
|
|
struct drm_bridge **bridge);
|
|
struct drm_bridge **bridge);
|
|
|
|
|
+int drm_of_panel_bridge_remove(const struct device_node *np,
|
|
|
|
|
+ int port, int endpoint);
|
|
|
#else
|
|
#else
|
|
|
static inline uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
|
|
static inline uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
|
|
|
struct device_node *port)
|
|
struct device_node *port)
|
|
@@ -65,6 +67,12 @@ static inline int drm_of_find_panel_or_bridge(const struct device_node *np,
|
|
|
{
|
|
{
|
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+static inline int drm_of_panel_bridge_remove(const struct device_node *np,
|
|
|
|
|
+ int port, int endpoint)
|
|
|
|
|
+{
|
|
|
|
|
+ return -EINVAL;
|
|
|
|
|
+}
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
static inline int drm_of_encoder_active_endpoint_id(struct device_node *node,
|
|
static inline int drm_of_encoder_active_endpoint_id(struct device_node *node,
|