From: Rodrigo Vivi Date: Fri, 25 Aug 2017 20:16:12 +0000 (-0700) Subject: drm/tve200: Pass NULL format_modifier to drm_simple_display_pipe_init X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b07b9146635e90b72551bc8992eb85ecbaa0e593;p=openwrt%2Fstaging%2Fblogic.git drm/tve200: Pass NULL format_modifier to drm_simple_display_pipe_init This Fixes build on branches where we already have format-modifier. Reference: https://lists.freedesktop.org/archives/dri-devel/2017-August/151044.html Fixes: 179c02fe90a4 ("drm/tve200: Add new driver for TVE200") Cc: Linus Walleij Cc: Janet Morgan Cc: Ben Widawsky Cc: Daniel Stone (v2) Cc: Liviu Dudau Cc: Daniel Stone Signed-off-by: Rodrigo Vivi Reviewed-by: Daniel Stone Signed-off-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20170825201612.23056-1-rodrigo.vivi@intel.com --- diff --git a/drivers/gpu/drm/tve200/tve200_display.c b/drivers/gpu/drm/tve200/tve200_display.c index 37fb333331f3..3f4b97bf2a13 100644 --- a/drivers/gpu/drm/tve200/tve200_display.c +++ b/drivers/gpu/drm/tve200/tve200_display.c @@ -336,6 +336,7 @@ int tve200_display_init(struct drm_device *drm) ret = drm_simple_display_pipe_init(drm, &priv->pipe, &tve200_display_funcs, formats, ARRAY_SIZE(formats), + NULL, &priv->connector.connector); if (ret) return ret;