summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/drm/drm_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_crtc.c b/sys/dev/pci/drm/drm_crtc.c
index 21d6799ca4f..7d3b1d7698f 100644
--- a/sys/dev/pci/drm/drm_crtc.c
+++ b/sys/dev/pci/drm/drm_crtc.c
@@ -3810,7 +3810,7 @@ drm_mode_page_flip_ioctl(struct drm_device *dev,
e->base.event = &e->event.base;
e->base.file_priv = file_priv;
e->base.destroy =
- (void (*) (struct drm_pending_event *)) free;
+ (void (*) (struct drm_pending_event *)) drm_free;
}
ret = crtc->funcs->page_flip(crtc, fb, e);