drm/vc4: Fix compilation error reported by kbuild test bot
[sfrench/cifs-2.6.git] / drivers / gpu / drm / vc4 / vc4_crtc.c
index e7c04a9eb219bb13707933c97b43b7a303caa6b7..1baa10e9448472510006b7390e3e574841c0163a 100644 (file)
@@ -1042,7 +1042,7 @@ static void
 vc4_crtc_reset(struct drm_crtc *crtc)
 {
        if (crtc->state)
-               vc4_crtc_destroy_state(crtc->state);
+               vc4_crtc_destroy_state(crtc, crtc->state);
 
        crtc->state = kzalloc(sizeof(struct vc4_crtc_state), GFP_KERNEL);
        if (crtc->state)