diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-06-22 20:39:22 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-06-22 20:39:22 +0100 |
commit | 310d39e1069d5194f14849059be53c70bfb58b9c (patch) | |
tree | d33306743d6609ddeb73fa2ec39687cf91b5ae14 | |
parent | a2cb2409602c1cab53b52aeb82188705d3364e57 (diff) |
OMAP: DSS2: Add missing dummy functions
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 <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/omap2/dss/dss.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index 3e6dbd544dc..ef193750e3c 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h @@ -322,6 +322,30 @@ static inline unsigned long dsi_get_pll_hsdiv_dispc_rate(struct platform_device WARN("%s: DSI not compiled in, returning rate as 0\n", __func__); return 0; } +static inline int dsi_pll_set_clock_div(struct platform_device *dsidev, + struct dsi_clock_info *cinfo) +{ + WARN("%s: DSI not compiled in\n", __func__); + return -ENODEV; +} +static inline int dsi_pll_calc_clock_div_pck(struct platform_device *dsidev, + bool is_tft, unsigned long req_pck, + struct dsi_clock_info *dsi_cinfo, + struct dispc_clock_info *dispc_cinfo) +{ + WARN("%s: DSI not compiled in\n", __func__); + return -ENODEV; +} +static inline int dsi_pll_init(struct platform_device *dsidev, + bool enable_hsclk, bool enable_hsdiv) +{ + WARN("%s: DSI not compiled in\n", __func__); + return -ENODEV; +} +static inline void dsi_pll_uninit(struct platform_device *dsidev, + bool disconnect_lanes) +{ +} static inline void dsi_wait_pll_hsdiv_dispc_active(struct platform_device *dsidev) { } |