diff options
Diffstat (limited to 'drivers/video/omap2/dss/display.c')
-rw-r--r-- | drivers/video/omap2/dss/display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/display.c b/drivers/video/omap2/dss/display.c index 80b67d1c9d03..3888c191c8a7 100644 --- a/drivers/video/omap2/dss/display.c +++ b/drivers/video/omap2/dss/display.c | |||
@@ -303,12 +303,13 @@ static struct device_attribute *display_sysfs_attrs[] = { | |||
303 | NULL | 303 | NULL |
304 | }; | 304 | }; |
305 | 305 | ||
306 | static void default_get_resolution(struct omap_dss_device *dssdev, | 306 | void omapdss_default_get_resolution(struct omap_dss_device *dssdev, |
307 | u16 *xres, u16 *yres) | 307 | u16 *xres, u16 *yres) |
308 | { | 308 | { |
309 | *xres = dssdev->panel.timings.x_res; | 309 | *xres = dssdev->panel.timings.x_res; |
310 | *yres = dssdev->panel.timings.y_res; | 310 | *yres = dssdev->panel.timings.y_res; |
311 | } | 311 | } |
312 | EXPORT_SYMBOL(omapdss_default_get_resolution); | ||
312 | 313 | ||
313 | void default_get_overlay_fifo_thresholds(enum omap_plane plane, | 314 | void default_get_overlay_fifo_thresholds(enum omap_plane plane, |
314 | u32 fifo_size, enum omap_burst_size *burst_size, | 315 | u32 fifo_size, enum omap_burst_size *burst_size, |
@@ -412,7 +413,6 @@ void dss_init_device(struct platform_device *pdev, | |||
412 | return; | 413 | return; |
413 | } | 414 | } |
414 | 415 | ||
415 | dssdev->get_resolution = default_get_resolution; | ||
416 | dssdev->get_recommended_bpp = default_get_recommended_bpp; | 416 | dssdev->get_recommended_bpp = default_get_recommended_bpp; |
417 | 417 | ||
418 | switch (dssdev->type) { | 418 | switch (dssdev->type) { |