aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-06-15 08:21:12 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-30 09:16:17 -0400
commit5bc416cba15f43c799fc02727c6d6887f3e35a4e (patch)
treec53e4104537b3189d54c9f7254936e277ab096a5 /include
parent4e6a0ab0f9d4c8062bd84f3fc95b175001d46ebf (diff)
OMAP: DSS2: DSI: Improve dsi_mux_pads parameters
dsi_mux_pads() needs to know about the DSI HW module and the DSI lanes used. Split the function into two, enable and disable, which take necessary arguments, and add empty implementations for both. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/omapdss.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 3b55ef22f8db..c4d1d4ed909f 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -242,7 +242,8 @@ struct omap_dss_board_info {
242 int num_devices; 242 int num_devices;
243 struct omap_dss_device **devices; 243 struct omap_dss_device **devices;
244 struct omap_dss_device *default_device; 244 struct omap_dss_device *default_device;
245 void (*dsi_mux_pads)(bool enable); 245 int (*dsi_enable_pads)(int dsi_id, unsigned lane_mask);
246 void (*dsi_disable_pads)(int dsi_id, unsigned lane_mask);
246}; 247};
247 248
248#if defined(CONFIG_OMAP2_DSS_MODULE) || defined(CONFIG_OMAP2_DSS) 249#if defined(CONFIG_OMAP2_DSS_MODULE) || defined(CONFIG_OMAP2_DSS)