aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-23 15:46:54 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-06-06 10:23:21 +0300
commitb53398edceec6cc8e18f634133169618ab50d943 (patch)
tree81ebdd87537975ce835cd35ffe7bd6bf08780ca0 /include
parentdb502f44d90b21480cc3d9beff86e98230a5505f (diff)
downloadkernel_samsung_tuna-b53398edceec6cc8e18f634133169618ab50d943.zip
kernel_samsung_tuna-b53398edceec6cc8e18f634133169618ab50d943.tar.gz
kernel_samsung_tuna-b53398edceec6cc8e18f634133169618ab50d943.tar.bz2
OMAP: DSS2: rewrite use of context_loss_count
The function to get device's context loss count has changed from omap_pm_get_last_off_on_transaction_id() to omap_pm_get_dev_context_loss_count() Change name of the function pointer in omapdss.h accordingly, and use the term "context loss count" instead of "context id" in the code. Restructure the context loss count functions to handle errors properly, and ensure that context is always considered lost if an error happens. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/omapdss.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index bb39738..4f914a5 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -244,7 +244,7 @@ int dsi_vc_send_bta_sync(struct omap_dss_device *dssdev, int channel);
/* Board specific data */
struct omap_dss_board_info {
- int (*get_last_off_on_transaction_id)(struct device *dev);
+ int (*get_context_loss_count)(struct device *dev);
int num_devices;
struct omap_dss_device **devices;
struct omap_dss_device *default_device;