aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@nokia.com>2010-01-11 08:11:01 -0500
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-02-24 07:31:27 -0500
commit225b650d41e7cdbf5cd322a461b04493caabed09 (patch)
treedcd6b3f83036eeb13777f018aca4cf8273d087c5 /arch
parenta269950405ab17ce3a604ddcd939709a4a7a747c (diff)
OMAP: DSS2: move enable/get_te()
Move enable/get_te() from omap_dss_device to omap_dss_driver. This is part of a larger patch-set, which moves the control from omapdss driver to the display driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-omap/include/plat/display.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/display.h b/arch/arm/plat-omap/include/plat/display.h
index aadea59b69b..fe9601d2cd7 100644
--- a/arch/arm/plat-omap/include/plat/display.h
+++ b/arch/arm/plat-omap/include/plat/display.h
@@ -483,9 +483,6 @@ struct omap_dss_device {
483 enum omap_dss_update_mode (*get_update_mode) 483 enum omap_dss_update_mode (*get_update_mode)
484 (struct omap_dss_device *dssdev); 484 (struct omap_dss_device *dssdev);
485 485
486 int (*enable_te)(struct omap_dss_device *dssdev, bool enable);
487 int (*get_te)(struct omap_dss_device *dssdev);
488
489 int (*set_wss)(struct omap_dss_device *dssdev, u32 wss); 486 int (*set_wss)(struct omap_dss_device *dssdev, u32 wss);
490 u32 (*get_wss)(struct omap_dss_device *dssdev); 487 u32 (*get_wss)(struct omap_dss_device *dssdev);
491 488
@@ -513,6 +510,7 @@ struct omap_dss_driver {
513 510
514 int (*enable_te)(struct omap_dss_device *dssdev, bool enable); 511 int (*enable_te)(struct omap_dss_device *dssdev, bool enable);
515 int (*wait_for_te)(struct omap_dss_device *dssdev); 512 int (*wait_for_te)(struct omap_dss_device *dssdev);
513 int (*get_te)(struct omap_dss_device *dssdev);
516 514
517 u8 (*get_rotate)(struct omap_dss_device *dssdev); 515 u8 (*get_rotate)(struct omap_dss_device *dssdev);
518 int (*set_rotate)(struct omap_dss_device *dssdev, u8 rotate); 516 int (*set_rotate)(struct omap_dss_device *dssdev, u8 rotate);
@@ -567,5 +565,6 @@ int omap_dispc_wait_for_irq_interruptible_timeout(u32 irqmask,
567#define to_dss_device(x) container_of((x), struct omap_dss_device, dev) 565#define to_dss_device(x) container_of((x), struct omap_dss_device, dev)
568 566
569void omapdss_dsi_vc_enable_hs(int channel, bool enable); 567void omapdss_dsi_vc_enable_hs(int channel, bool enable);
568int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable);
570 569
571#endif 570#endif