diff options
Diffstat (limited to 'drivers/video/omap2/dss/display-sysfs.c')
-rw-r--r-- | drivers/video/omap2/dss/display-sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/display-sysfs.c b/drivers/video/omap2/dss/display-sysfs.c index f7b5f9561041..5a2095a98ed8 100644 --- a/drivers/video/omap2/dss/display-sysfs.c +++ b/drivers/video/omap2/dss/display-sysfs.c | |||
@@ -132,7 +132,7 @@ static ssize_t display_timings_show(struct device *dev, | |||
132 | dssdev->driver->get_timings(dssdev, &t); | 132 | dssdev->driver->get_timings(dssdev, &t); |
133 | 133 | ||
134 | return snprintf(buf, PAGE_SIZE, "%u,%u/%u/%u/%u,%u/%u/%u/%u\n", | 134 | return snprintf(buf, PAGE_SIZE, "%u,%u/%u/%u/%u,%u/%u/%u/%u\n", |
135 | t.pixel_clock, | 135 | t.pixelclock, |
136 | t.x_res, t.hfp, t.hbp, t.hsw, | 136 | t.x_res, t.hfp, t.hbp, t.hsw, |
137 | t.y_res, t.vfp, t.vbp, t.vsw); | 137 | t.y_res, t.vfp, t.vbp, t.vsw); |
138 | } | 138 | } |
@@ -158,7 +158,7 @@ static ssize_t display_timings_store(struct device *dev, | |||
158 | } | 158 | } |
159 | #endif | 159 | #endif |
160 | if (!found && sscanf(buf, "%u,%hu/%hu/%hu/%hu,%hu/%hu/%hu/%hu", | 160 | if (!found && sscanf(buf, "%u,%hu/%hu/%hu/%hu,%hu/%hu/%hu/%hu", |
161 | &t.pixel_clock, | 161 | &t.pixelclock, |
162 | &t.x_res, &t.hfp, &t.hbp, &t.hsw, | 162 | &t.x_res, &t.hfp, &t.hbp, &t.hsw, |
163 | &t.y_res, &t.vfp, &t.vbp, &t.vsw) != 9) | 163 | &t.y_res, &t.vfp, &t.vbp, &t.vsw) != 9) |
164 | return -EINVAL; | 164 | return -EINVAL; |