From: Tomi Valkeinen Date: Thu, 6 Sep 2012 11:26:10 +0000 (+0300) Subject: OMAPDSS: Add dss_get_default_display_name() X-Git-Tag: v3.7-rc1~48^2~1^2~6^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a03fca96e4d4d010be52e11fc7b8ab89da9d2cf;p=platform%2Fkernel%2Flinux-3.10.git 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 --- diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 20c8bc8..315f557 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -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)