diff options
-rw-r--r-- | drivers/video/omap2/dss/core.c | 5 | ||||
-rw-r--r-- | drivers/video/omap2/dss/dss.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index b1a9ce1188fb..8c308317a19f 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c | |||
@@ -66,6 +66,11 @@ enum omapdss_version omapdss_get_version(void) | |||
66 | } | 66 | } |
67 | EXPORT_SYMBOL(omapdss_get_version); | 67 | EXPORT_SYMBOL(omapdss_get_version); |
68 | 68 | ||
69 | struct platform_device *dss_get_core_pdev(void) | ||
70 | { | ||
71 | return core.pdev; | ||
72 | } | ||
73 | |||
69 | /* REGULATORS */ | 74 | /* REGULATORS */ |
70 | 75 | ||
71 | struct regulator *dss_get_vdds_dsi(void) | 76 | struct regulator *dss_get_vdds_dsi(void) |
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index 6c3cfb3352df..9ee3c881d1c0 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h | |||
@@ -160,6 +160,7 @@ struct seq_file; | |||
160 | struct platform_device; | 160 | struct platform_device; |
161 | 161 | ||
162 | /* core */ | 162 | /* core */ |
163 | struct platform_device *dss_get_core_pdev(void); | ||
163 | struct bus_type *dss_get_bus(void); | 164 | struct bus_type *dss_get_bus(void); |
164 | struct regulator *dss_get_vdds_dsi(void); | 165 | struct regulator *dss_get_vdds_dsi(void); |
165 | struct regulator *dss_get_vdds_sdi(void); | 166 | struct regulator *dss_get_vdds_sdi(void); |