diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-10-20 17:05:07 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-10-20 17:05:07 +0200 |
commit | a8909a0ebcc21ad6b92b93ffe87878ece4b56506 (patch) | |
tree | 2b1406231466711a49f642ec5eb0bb5c65fc348a | |
parent | 9321592149c031694c459bb05e7a31d1197fe5cb (diff) |
Bug #1746: Set dev_priv_size for the MGA driver.
-rw-r--r-- | linux-core/mga_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/mga_drv.c b/linux-core/mga_drv.c index 2bb1e8f3..ef6f1e44 100644 --- a/linux-core/mga_drv.c +++ b/linux-core/mga_drv.c @@ -48,6 +48,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, |