diff options
Diffstat (limited to 'drivers/video/omap2/dss/dss.c')
-rw-r--r-- | drivers/video/omap2/dss/dss.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index 94f66f9f10a3..bd01608e67e2 100644 --- a/drivers/video/omap2/dss/dss.c +++ b/drivers/video/omap2/dss/dss.c | |||
@@ -157,7 +157,8 @@ static void dss_restore_context(void) | |||
157 | 157 | ||
158 | int dss_get_ctx_loss_count(void) | 158 | int dss_get_ctx_loss_count(void) |
159 | { | 159 | { |
160 | struct omap_dss_board_info *board_data = dss.pdev->dev.platform_data; | 160 | struct platform_device *core_pdev = dss_get_core_pdev(); |
161 | struct omap_dss_board_info *board_data = core_pdev->dev.platform_data; | ||
161 | int cnt; | 162 | int cnt; |
162 | 163 | ||
163 | if (!board_data->get_context_loss_count) | 164 | if (!board_data->get_context_loss_count) |