Bug #1746: Set dev_priv_size for the MGA driver.
authorTilman Sauerbeck <tilman@code-monkey.de>
Fri, 20 Oct 2006 15:05:07 +0000 (17:05 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Fri, 20 Oct 2006 15:05:07 +0000 (17:05 +0200)
linux-core/mga_drv.c

index 2bb1e8f..ef6f1e4 100644 (file)
@@ -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,