From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomi Valkeinen Date: Wed, 31 Aug 2011 13:23:13 +0000 Subject: [PATCH 02/12] OMAP: DSS2: add detect() to omap_dss_driver struct Message-Id: <1314797003-17638-3-git-send-email-tomi.valkeinen@ti.com> List-Id: References: <1314797003-17638-1-git-send-email-tomi.valkeinen@ti.com> In-Reply-To: <1314797003-17638-1-git-send-email-tomi.valkeinen@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: archit@ti.com, mythripk@ti.com, Tomi Valkeinen detect() can be used to probe if the display is connected. Signed-off-by: Tomi Valkeinen --- include/video/omapdss.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 8ed5a6c..a62f49a 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -560,6 +560,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 *); -- 1.7.4.1