diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-10-24 21:52:23 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-10-24 21:52:23 +1000 |
commit | 958de71b1ab01c20c1b385035235746c9227b24f (patch) | |
tree | 7835edb7e74dbf5e5e38b0f6f91e171834c3f130 | |
parent | 10eee0fe9114694401c7ae154e8cfb2ab2f59c10 (diff) |
drm: mga: set dev_priv_size
fd.o bug 1746
Signed-off-by: Dave Airlie <airlied@linux.ie>
-rw-r--r-- | drivers/char/drm/mga_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/drm/mga_drv.c b/drivers/char/drm/mga_drv.c index e30f556b79f1..be49dbb9ec3f 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, |