summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2018-09-11 14:38:54 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2019-01-30 18:27:59 +0100
commit04b060ff10633498adf15297f80809d89ecc78b9 (patch)
tree9f1154c4976f3dc2992d1be59239cfc19011da6c /drivers/gpu
parentee5df4b6e94598da5368c0f37ffa4530f53e2a1e (diff)
drm/bridge: lt8912.c: adapt to changed drm api
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 0c0420dcf29549bf045e0764a50c4c482cbb7232) (cherry picked from commit 91bfc951ee0cff636db5dae01ed61f03132416e6)
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/bridge/lt8912.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/lt8912.c b/drivers/gpu/drm/bridge/lt8912.c
index 1790a71f2767..ff053c8edf06 100644
--- a/drivers/gpu/drm/bridge/lt8912.c
+++ b/drivers/gpu/drm/bridge/lt8912.c
@@ -270,6 +270,7 @@ static int lt8912_connector_get_modes(struct drm_connector *connector)
{
struct lt8912 *lt8912 = connector_to_lt8912(connector);
struct drm_display_mode *mode;
+ u32 bus_flags = 0;
int ret;
/* TODO: EDID handing */
@@ -279,7 +280,7 @@ static int lt8912_connector_get_modes(struct drm_connector *connector)
return -EINVAL;
ret = of_get_drm_display_mode(lt8912->dev->of_node, mode,
- OF_USE_NATIVE_MODE);
+ &bus_flags, OF_USE_NATIVE_MODE);
if (ret) {
dev_err(lt8912->dev, "failed to get display timings\n");
drm_mode_destroy(connector->dev, mode);