From: Tilman Sauerbeck Date: Tue, 24 Oct 2006 11:52:23 +0000 (+1000) Subject: drm: mga: set dev_priv_size X-Git-Tag: v2.6.19-rc4~88^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=958de71b1ab01c20c1b385035235746c9227b24f;p=linux-2.6 drm: mga: set dev_priv_size fd.o bug 1746 Signed-off-by: Dave Airlie --- diff --git a/drivers/char/drm/mga_drv.c b/drivers/char/drm/mga_drv.c index e30f556b79..be49dbb9ec 100644 --- a/drivers/char/drm/mga_drv.c +++ b/drivers/char/drm/mga_drv.c @@ -47,6 +47,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,