aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.h
diff options
context:
space:
mode:
authorSenthilvadivu Guruswamy <svadivu@ti.com>2011-01-24 01:21:59 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-03-11 08:46:20 -0500
commit3448d500f7002a5ee374ec92d954b1667cbf72a4 (patch)
tree20f5d41b1335b1359052331f2cbdbc278edae545 /drivers/video/omap2/dss/dss.h
parent8b9cb3a8f39d0864c925c5cd5c2c54cfd85ad551 (diff)
OMAP2, 3: DSS2: RFBI: 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 for RFBI 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. RFBI 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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h
index c535ee1db3ee..0ba4bdbd6b01 100644
--- a/drivers/video/omap2/dss/dss.h
+++ b/drivers/video/omap2/dss/dss.h
@@ -428,8 +428,8 @@ static inline void venc_exit(void)
428 428
429/* RFBI */ 429/* RFBI */
430#ifdef CONFIG_OMAP2_DSS_RFBI 430#ifdef CONFIG_OMAP2_DSS_RFBI
431int rfbi_init(void); 431int rfbi_init_platform_driver(void);
432void rfbi_exit(void); 432void rfbi_uninit_platform_driver(void);
433void rfbi_dump_regs(struct seq_file *s); 433void rfbi_dump_regs(struct seq_file *s);
434 434
435int rfbi_configure(int rfbi_module, int bpp, int lines); 435int rfbi_configure(int rfbi_module, int bpp, int lines);
@@ -440,11 +440,11 @@ void rfbi_set_timings(int rfbi_module, struct rfbi_timings *t);
440unsigned long rfbi_get_max_tx_rate(void); 440unsigned long rfbi_get_max_tx_rate(void);
441int rfbi_init_display(struct omap_dss_device *display); 441int rfbi_init_display(struct omap_dss_device *display);
442#else 442#else
443static inline int rfbi_init(void) 443static inline int rfbi_init_platform_driver(void)
444{ 444{
445 return 0; 445 return 0;
446} 446}
447static inline void rfbi_exit(void) 447static inline void rfbi_uninit_platform_driver(void)
448{ 448{
449} 449}
450#endif 450#endif