Skip to content

Commit

Permalink
OMAPDSS: Add dss_get_default_display_name()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomi Valkeinen committed Sep 18, 2012
1 parent 8768a52 commit 6a03fca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/video/omap2/dss/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ bool dss_debug;
module_param_named(debug, dss_debug, bool, 0644);
#endif

const char *dss_get_default_display_name(void)
{
return core.default_display_name;
}

/* REGULATORS */

struct regulator *dss_get_vdds_dsi(void)
Expand Down

0 comments on commit 6a03fca

Please sign in to comment.