Skip to content

Commit

Permalink
drm: mga: set dev_priv_size
Browse files Browse the repository at this point in the history
fd.o bug 1746

Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
Tilman Sauerbeck authored and Dave Airlie committed Oct 24, 2006
1 parent 10eee0f commit 958de71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/drm/mga_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 958de71

Please sign in to comment.