aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-09-06 07:26:10 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-09-18 09:15:02 -0400
commit6a03fca96e4d4d010be52e11fc7b8ab89da9d2cf (patch)
tree90007eac8a17daf60d104cc7a030b9b5cb80085e /drivers/video/omap2
parent8768a52f8f53e6f54bce77faade1007d4142fa7c (diff)
OMAPDSS: Add dss_get_default_display_name()
Add function dss_get_default_display_name() which returns the name of the default display, given from the board file or via module parameters. The default display name can be used by output drivers to decide which display is the wanted one. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r--drivers/video/omap2/dss/core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c
index 20c8bc8291b4..315f557f1d1a 100644
--- a/drivers/video/omap2/dss/core.c
+++ b/drivers/video/omap2/dss/core.c
@@ -57,6 +57,11 @@ bool dss_debug;
57module_param_named(debug, dss_debug, bool, 0644); 57module_param_named(debug, dss_debug, bool, 0644);
58#endif 58#endif
59 59
60const char *dss_get_default_display_name(void)
61{
62 return core.default_display_name;
63}
64
60/* REGULATORS */ 65/* REGULATORS */
61 66
62struct regulator *dss_get_vdds_dsi(void) 67struct regulator *dss_get_vdds_dsi(void)