aboutsummaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-10-24 21:52:23 +1000
committerDave Airlie <airlied@linux.ie>2006-10-24 21:52:23 +1000
commit958de71b1ab01c20c1b385035235746c9227b24f (patch)
tree7835edb7e74dbf5e5e38b0f6f91e171834c3f130 /drivers/char
parent10eee0fe9114694401c7ae154e8cfb2ab2f59c10 (diff)
drm: mga: set dev_priv_size
fd.o bug 1746 Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/drm/mga_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/drm/mga_drv.c b/drivers/char/drm/mga_drv.c
index e30f556b79f..be49dbb9ec3 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,