diff options
Diffstat (limited to 'drivers/video/omap2/dss/display.c')
-rw-r--r-- | drivers/video/omap2/dss/display.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/omap2/dss/display.c b/drivers/video/omap2/dss/display.c index 383a8c82dae8..86996d8d65be 100644 --- a/drivers/video/omap2/dss/display.c +++ b/drivers/video/omap2/dss/display.c | |||
@@ -69,8 +69,8 @@ static ssize_t display_upd_mode_show(struct device *dev, | |||
69 | { | 69 | { |
70 | struct omap_dss_device *dssdev = to_dss_device(dev); | 70 | struct omap_dss_device *dssdev = to_dss_device(dev); |
71 | enum omap_dss_update_mode mode = OMAP_DSS_UPDATE_AUTO; | 71 | enum omap_dss_update_mode mode = OMAP_DSS_UPDATE_AUTO; |
72 | if (dssdev->get_update_mode) | 72 | if (dssdev->driver->get_update_mode) |
73 | mode = dssdev->get_update_mode(dssdev); | 73 | mode = dssdev->driver->get_update_mode(dssdev); |
74 | return snprintf(buf, PAGE_SIZE, "%d\n", mode); | 74 | return snprintf(buf, PAGE_SIZE, "%d\n", mode); |
75 | } | 75 | } |
76 | 76 | ||
@@ -94,7 +94,7 @@ static ssize_t display_upd_mode_store(struct device *dev, | |||
94 | return -EINVAL; | 94 | return -EINVAL; |
95 | } | 95 | } |
96 | 96 | ||
97 | r = dssdev->set_update_mode(dssdev, mode); | 97 | r = dssdev->driver->set_update_mode(dssdev, mode); |
98 | if (r) | 98 | if (r) |
99 | return r; | 99 | return r; |
100 | 100 | ||