From patchwork Wed Aug 31 13:23:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 1115952 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7VDMMIv022786 for ; Wed, 31 Aug 2011 13:23:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755759Ab1HaNXn (ORCPT ); Wed, 31 Aug 2011 09:23:43 -0400 Received: from na3sys009aog113.obsmtp.com ([74.125.149.209]:42739 "EHLO na3sys009aog113.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755745Ab1HaNXm (ORCPT ); Wed, 31 Aug 2011 09:23:42 -0400 Received: from mail-ww0-f51.google.com ([74.125.82.51]) (using TLSv1) by na3sys009aob113.postini.com ([74.125.148.12]) with SMTP ID DSNKTl412L5BYq0Udr9xqEflNoHAiXHwSq0W@postini.com; Wed, 31 Aug 2011 06:23:42 PDT Received: by mail-ww0-f51.google.com with SMTP id 18so638393wwi.8 for ; Wed, 31 Aug 2011 06:23:36 -0700 (PDT) Received: by 10.227.130.104 with SMTP id r40mr369079wbs.73.1314797015842; Wed, 31 Aug 2011 06:23:35 -0700 (PDT) Received: from localhost.localdomain (a62-248-128-208.elisa-laajakaista.fi [62.248.128.208]) by mx.google.com with ESMTPS id fm9sm5476855wbb.27.2011.08.31.06.23.34 (version=SSLv3 cipher=OTHER); Wed, 31 Aug 2011 06:23:35 -0700 (PDT) From: Tomi Valkeinen To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: archit@ti.com, mythripk@ti.com, Tomi Valkeinen Subject: [PATCH 02/12] OMAP: DSS2: add detect() to omap_dss_driver struct Date: Wed, 31 Aug 2011 16:23:13 +0300 Message-Id: <1314797003-17638-3-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1314797003-17638-1-git-send-email-tomi.valkeinen@ti.com> References: <1314797003-17638-1-git-send-email-tomi.valkeinen@ti.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 31 Aug 2011 13:23:53 +0000 (UTC) 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 *);