From patchwork Thu May 12 11:40:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 779552 X-Patchwork-Delegate: tomi.valkeinen@nokia.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4CBeUW5019283 for ; Thu, 12 May 2011 11:40:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755444Ab1ELLk2 (ORCPT ); Thu, 12 May 2011 07:40:28 -0400 Received: from na3sys009aog114.obsmtp.com ([74.125.149.211]:40400 "EHLO na3sys009aog114.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755433Ab1ELLk1 (ORCPT ); Thu, 12 May 2011 07:40:27 -0400 Received: from mail-ey0-f179.google.com ([209.85.215.179]) (using TLSv1) by na3sys009aob114.postini.com ([74.125.148.12]) with SMTP ID DSNKTcvHKbrS2jozeM52+HdH3gYK3bB/lzGV@postini.com; Thu, 12 May 2011 04:40:26 PDT Received: by eyg5 with SMTP id 5so542498eyg.24 for ; Thu, 12 May 2011 04:40:24 -0700 (PDT) Received: by 10.213.106.193 with SMTP id y1mr606553ebo.22.1305200424355; Thu, 12 May 2011 04:40:24 -0700 (PDT) Received: from localhost.localdomain (a62-248-131-233.elisa-laajakaista.fi [62.248.131.233]) by mx.google.com with ESMTPS id y3sm635893eeh.9.2011.05.12.04.40.22 (version=SSLv3 cipher=OTHER); Thu, 12 May 2011 04:40:23 -0700 (PDT) From: Tomi Valkeinen To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: Tomi Valkeinen Subject: [PATCHv2 1/8] OMAP: DSS2: Add missing dummy functions Date: Thu, 12 May 2011 14:40:06 +0300 Message-Id: <1305200413-23697-2-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1305200413-23697-1-git-send-email-tomi.valkeinen@ti.com> References: <1305200413-23697-1-git-send-email-tomi.valkeinen@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Thu, 12 May 2011 11:40:30 +0000 (UTC) dpi.c does not compile if DSI is not compiled in. Add the missing dummy functions so that dpi.c compiles. Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/dss.h | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index eea5c7d..f659cfb 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h @@ -313,6 +313,27 @@ static inline unsigned long dsi_get_pll_hsdiv_dispc_rate(void) WARN("%s: DSI not compiled in, returning rate as 0\n", __func__); return 0; } +static inline int dsi_pll_set_clock_div(struct dsi_clock_info *cinfo) +{ + WARN("%s: DSI not compiled in\n", __func__); + return -ENODEV; +} +static inline int dsi_pll_calc_clock_div_pck(bool is_tft, unsigned long req_pck, + struct dsi_clock_info *cinfo, + struct dispc_clock_info *dispc_cinfo) +{ + WARN("%s: DSI not compiled in\n", __func__); + return -ENODEV; +} +static inline int dsi_pll_init(struct omap_dss_device *dssdev, + bool enable_hsclk, bool enable_hsdiv) +{ + WARN("%s: DSI not compiled in\n", __func__); + return -ENODEV; +} +static inline void dsi_pll_uninit(bool disconnect_lanes) +{ +} static inline void dsi_wait_pll_hsdiv_dispc_active(void) { }