OMAP: DSS2: add detect() to omap_dss_driver struct
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 29 Aug 2011 14:26:01 +0000 (17:26 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:16:44 +0000 (16:16 +0300)
detect() can be used to probe if the display is connected.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
include/video/omapdss.h

index 33410b4..a927eea 100644 (file)
@@ -624,6 +624,7 @@ struct omap_dss_driver {
        u32 (*get_wss)(struct omap_dss_device *dssdev);
 
        int (*read_edid)(struct omap_dss_device *dssdev, u8 *buf, int len);
+       bool (*detect)(struct omap_dss_device *dssdev);
 };
 
 int omap_dss_register_driver(struct omap_dss_driver *);