drm/omap: dss: Functions to check components in the display/output list

The functions can be used to check a component (by it's of_node) if it is
part of the omapdss display or output list. If the component is found, it
means that the driver is loaded.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
Peter Ujfalusi
2016-05-02 14:55:38 +03:00
committed by Tomi Valkeinen
parent be2d68c69e
commit 7c79e8d67f
3 changed files with 34 additions and 0 deletions

View File

@@ -936,4 +936,7 @@ struct dispc_ops {
void dispc_set_ops(const struct dispc_ops *o);
const struct dispc_ops *dispc_get_ops(void);
bool omapdss_component_is_display(struct device_node *node);
bool omapdss_component_is_output(struct device_node *node);
#endif /* __OMAP_DRM_DSS_H */