diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-01-11 09:12:31 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-02-24 07:31:28 -0500 |
commit | 446f7bff703f5f82560afde90fb22b7a1d366bbc (patch) | |
tree | 6ed3d56bbe170c8491e77734822fbcd8f07fbe0c /arch/arm/plat-omap | |
parent | 225b650d41e7cdbf5cd322a461b04493caabed09 (diff) |
OMAP: DSS2: move set/get_update_mode()
Move set/get_update_mode() 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/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/display.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/plat-omap/include/plat/display.h b/arch/arm/plat-omap/include/plat/display.h index fe9601d2cd72..c04aadf3d9f8 100644 --- a/arch/arm/plat-omap/include/plat/display.h +++ b/arch/arm/plat-omap/include/plat/display.h | |||
@@ -478,11 +478,6 @@ struct omap_dss_device { | |||
478 | u16 x, u16 y, u16 w, u16 h); | 478 | u16 x, u16 y, u16 w, u16 h); |
479 | int (*sync)(struct omap_dss_device *dssdev); | 479 | int (*sync)(struct omap_dss_device *dssdev); |
480 | 480 | ||
481 | int (*set_update_mode)(struct omap_dss_device *dssdev, | ||
482 | enum omap_dss_update_mode); | ||
483 | enum omap_dss_update_mode (*get_update_mode) | ||
484 | (struct omap_dss_device *dssdev); | ||
485 | |||
486 | int (*set_wss)(struct omap_dss_device *dssdev, u32 wss); | 481 | int (*set_wss)(struct omap_dss_device *dssdev, u32 wss); |
487 | u32 (*get_wss)(struct omap_dss_device *dssdev); | 482 | u32 (*get_wss)(struct omap_dss_device *dssdev); |
488 | 483 | ||
@@ -507,6 +502,10 @@ struct omap_dss_driver { | |||
507 | 502 | ||
508 | void (*setup_update)(struct omap_dss_device *dssdev, | 503 | void (*setup_update)(struct omap_dss_device *dssdev, |
509 | u16 x, u16 y, u16 w, u16 h); | 504 | u16 x, u16 y, u16 w, u16 h); |
505 | int (*set_update_mode)(struct omap_dss_device *dssdev, | ||
506 | enum omap_dss_update_mode); | ||
507 | enum omap_dss_update_mode (*get_update_mode)( | ||
508 | struct omap_dss_device *dssdev); | ||
510 | 509 | ||
511 | int (*enable_te)(struct omap_dss_device *dssdev, bool enable); | 510 | int (*enable_te)(struct omap_dss_device *dssdev, bool enable); |
512 | int (*wait_for_te)(struct omap_dss_device *dssdev); | 511 | int (*wait_for_te)(struct omap_dss_device *dssdev); |