summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/mga_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/mga_drv.c')
-rw-r--r--sys/dev/pci/drm/mga_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/mga_drv.c b/sys/dev/pci/drm/mga_drv.c
index 2995536feaf..8915f10b7d4 100644
--- a/sys/dev/pci/drm/mga_drv.c
+++ b/sys/dev/pci/drm/mga_drv.c
@@ -56,7 +56,7 @@ const static struct drm_pcidev mgadrm_pciidlist[] = {
};
static const struct drm_driver_info mga_driver = {
- .buf_priv_size = sizeof(drm_mga_buf_priv_t),
+ .buf_priv_size = sizeof(struct mgadrm_buf_priv),
.ioctl = mgadrm_ioctl,
.lastclose = mga_driver_lastclose,
.vblank_pipes = 1,