|
@@ -128,6 +128,19 @@ struct omap_dss_output *omap_dss_find_output(const char *name)
|
|
|
}
|
|
|
EXPORT_SYMBOL(omap_dss_find_output);
|
|
|
|
|
|
+struct omap_dss_output *omap_dss_find_output_by_node(struct device_node *node)
|
|
|
+{
|
|
|
+ struct omap_dss_output *out;
|
|
|
+
|
|
|
+ list_for_each_entry(out, &output_list, list) {
|
|
|
+ if (out->pdev->dev.of_node == node)
|
|
|
+ return out;
|
|
|
+ }
|
|
|
+
|
|
|
+ return NULL;
|
|
|
+}
|
|
|
+EXPORT_SYMBOL(omap_dss_find_output_by_node);
|
|
|
+
|
|
|
static const struct dss_mgr_ops *dss_mgr_ops;
|
|
|
|
|
|
int dss_install_mgr_ops(const struct dss_mgr_ops *mgr_ops)
|