summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-10-24 13:52:23 +0200
committerDave Airlie <airlied@linux.ie>2006-10-24 13:52:23 +0200
commit958de71b1ab01c20c1b385035235746c9227b24f (patch)
tree7835edb7e74dbf5e5e38b0f6f91e171834c3f130 /drivers
parentdrm: savage: dev->agp_buffer_map is not initialized for AGP DMA on savages (diff)
downloadlinux-958de71b1ab01c20c1b385035235746c9227b24f.tar.xz
linux-958de71b1ab01c20c1b385035235746c9227b24f.zip
drm: mga: set dev_priv_size
fd.o bug 1746 Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers')
-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 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,