aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-04-30 08:38:15 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-12 12:39:48 -0400
commit943e4457ca732553b7cca2df8881124ae96071de (patch)
treedbb55ab87181f0836f5bc2f005ea61c02fce30a3 /drivers/video/omap2/dss/dss.h
parent634610ac6cdea8bce09a262cefe46c8705dfd209 (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>
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r--drivers/video/omap2/dss/dss.h24
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
322 WARN("%s: DSI not compiled in, returning rate as 0\n", __func__); 322 WARN("%s: DSI not compiled in, returning rate as 0\n", __func__);
323 return 0; 323 return 0;
324} 324}
325static inline int dsi_pll_set_clock_div(struct platform_device *dsidev,
326 struct dsi_clock_info *cinfo)
327{
328 WARN("%s: DSI not compiled in\n", __func__);
329 return -ENODEV;
330}
331static inline int dsi_pll_calc_clock_div_pck(struct platform_device *dsidev,
332 bool is_tft, unsigned long req_pck,
333 struct dsi_clock_info *dsi_cinfo,
334 struct dispc_clock_info *dispc_cinfo)
335{
336 WARN("%s: DSI not compiled in\n", __func__);
337 return -ENODEV;
338}
339static inline int dsi_pll_init(struct platform_device *dsidev,
340 bool enable_hsclk, bool enable_hsdiv)
341{
342 WARN("%s: DSI not compiled in\n", __func__);
343 return -ENODEV;
344}
345static inline void dsi_pll_uninit(struct platform_device *dsidev,
346 bool disconnect_lanes)
347{
348}
325static inline void dsi_wait_pll_hsdiv_dispc_active(struct platform_device *dsidev) 349static inline void dsi_wait_pll_hsdiv_dispc_active(struct platform_device *dsidev)
326{ 350{
327} 351}