drm: set crtc->fb to NULL

This commit is contained in:
Dave Airlie 2008-05-08 16:10:26 +10:00
parent 74a49aea61
commit 19abd5c1ac

View file

@ -763,6 +763,7 @@ int intelfb_remove(struct drm_device *dev, struct drm_crtc *crtc)
drm_framebuffer_destroy(fb);
framebuffer_release(info);
}
crtc->fb = NULL;
return 0;
}
EXPORT_SYMBOL(intelfb_remove);