From patchwork Tue May 10 16:24:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 774752 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 p4AGOU1v024054 for ; Tue, 10 May 2011 16:24:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932960Ab1EJQYc (ORCPT ); Tue, 10 May 2011 12:24:32 -0400 Received: from na3sys009aog110.obsmtp.com ([74.125.149.203]:60972 "EHLO na3sys009aog110.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932849Ab1EJQYb (ORCPT ); Tue, 10 May 2011 12:24:31 -0400 Received: from mail-ey0-f176.google.com ([209.85.215.176]) (using TLSv1) by na3sys009aob110.postini.com ([74.125.148.12]) with SMTP ID DSNKTclmvSpqFgREEWOJOZDLBSQRVXhkLSfI@postini.com; Tue, 10 May 2011 09:24:30 PDT Received: by eya28 with SMTP id 28so2523986eya.21 for ; Tue, 10 May 2011 09:24:28 -0700 (PDT) Received: by 10.213.20.213 with SMTP id g21mr1721670ebb.44.1305044667558; Tue, 10 May 2011 09:24:27 -0700 (PDT) Received: from localhost.localdomain (a62-248-131-233.elisa-laajakaista.fi [62.248.131.233]) by mx.google.com with ESMTPS id s1sm4430927ees.17.2011.05.10.09.24.25 (version=SSLv3 cipher=OTHER); Tue, 10 May 2011 09:24:26 -0700 (PDT) From: Tomi Valkeinen To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: Tomi Valkeinen Subject: [PATCH 1/8] OMAP: DSS2: Add missing dummy functions Date: Tue, 10 May 2011 19:24:09 +0300 Message-Id: <1305044656-31512-2-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1305044656-31512-1-git-send-email-tomi.valkeinen@ti.com> References: <1305044656-31512-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 (demeter2.kernel.org [140.211.167.43]); Tue, 10 May 2011 16:24:32 +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) { }