From a8909a0ebcc21ad6b92b93ffe87878ece4b56506 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Fri, 20 Oct 2006 17:05:07 +0200 Subject: [PATCH] Bug #1746: Set dev_priv_size for the MGA driver. --- linux-core/mga_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-core/mga_drv.c b/linux-core/mga_drv.c index 2bb1e8f3..ef6f1e44 100644 --- a/linux-core/mga_drv.c +++ b/linux-core/mga_drv.c @@ -48,6 +48,7 @@ static struct drm_driver driver = { DRIVER_USE_AGP | DRIVER_USE_MTRR | DRIVER_PCI_DMA | DRIVER_HAVE_DMA | DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED | DRIVER_IRQ_VBL, + .dev_priv_size = sizeof (drm_mga_buf_priv_t), .load = mga_driver_load, .unload = mga_driver_unload, .lastclose = mga_driver_lastclose,