Add dss_get_core_pdev() which returns the platform device for dss core
device. The following patches use the core pdev to register sysfs files
in the compat code.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
}
EXPORT_SYMBOL(omapdss_get_version);
+struct platform_device *dss_get_core_pdev(void)
+{
+ return core.pdev;
+}
+
/* REGULATORS */
struct regulator *dss_get_vdds_dsi(void)
struct platform_device;
/* core */
+struct platform_device *dss_get_core_pdev(void);
struct bus_type *dss_get_bus(void);
struct regulator *dss_get_vdds_dsi(void);
struct regulator *dss_get_vdds_sdi(void);