diff options
author | Senthilvadivu Guruswamy <svadivu@ti.com> | 2011-01-24 06:21:57 +0000 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-03-11 15:46:19 +0200 |
commit | 96c401bcb83a182a4f332f2f64ee6530ba35511a (patch) | |
tree | 9561806b92baf3ab42d9d859e7ad67a6b1c5125c /drivers/video/omap2/dss/dss.h | |
parent | cf07f5316215972e987c63b0a75a922c89813781 (diff) | |
download | linux-96c401bcb83a182a4f332f2f64ee6530ba35511a.tar.gz linux-96c401bcb83a182a4f332f2f64ee6530ba35511a.tar.bz2 linux-96c401bcb83a182a4f332f2f64ee6530ba35511a.zip |
OMAP2, 3: DSS2: DSS: create platform_driver, move init, exit to driver
Hwmod adaptation design requires each of the DSS HW IP to be a platform driver.
So a platform_driver of DSS is created and init exit methods are moved from core.c
to its driver probe,remove. pdev member has to be maintained by its own drivers.
DSS platform driver is registered from inside omap_dss_probe, in the order desired.
Signed-off-by: Senthilvadivu Guruswamy <svadivu@ti.com>
Signed-off-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r-- | drivers/video/omap2/dss/dss.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index b394951120ac..37c4544e8907 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h @@ -214,8 +214,8 @@ void dss_overlay_setup_l4_manager(struct omap_overlay_manager *mgr); void dss_recheck_connections(struct omap_dss_device *dssdev, bool force); /* DSS */ -int dss_init(bool skip_init); -void dss_exit(void); +int dss_init_platform_driver(void); +void dss_uninit_platform_driver(void); void dss_save_context(void); void dss_restore_context(void); |