diff options
author | Andy Doan <andy.doan@linaro.org> | 2011-07-24 20:59:11 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-09-26 17:23:58 +0100 |
commit | ae0a1d40f461bf188697b945949d8c449fd8e32e (patch) | |
tree | 0832f2afe841888d899671cc9883b2577ddd4201 /drivers/video | |
parent | eeb7218b562bb2c9490cfc4526d8d4e0749efed2 (diff) |
OMAP DSS: allow discovery of default display
Enable code outside of DSS core to find out the default display
that was passed to the kernel
Signed-off-by: Andy Doan <andy.doan@linaro.org>
Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap2/dss/core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 14004536edb0..22a7f4ebec88 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -57,6 +57,11 @@ module_param_named(debug, dss_debug, bool, 0644); static int omap_dss_register_device(struct omap_dss_device *); static void omap_dss_unregister_device(struct omap_dss_device *); +const char* omap_dss_get_def_disp() +{ + return def_disp_name; +} + /* REGULATORS */ struct regulator *dss_get_vdds_dsi(void) |