summaryrefslogtreecommitdiff
path: root/linux-core/mga_drv.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-11-09 16:58:02 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-11-09 16:58:02 +0000
commit4b4df875b26bd08ae62f26b8ced6a050425752ac (patch)
treeef5ae3e6113ebb11ca7229631541ed510b3b9cbc /linux-core/mga_drv.c
parent76b1a7f2b423eef828e911f93f1ef38927a5507e (diff)
Fix more build problems on linux-core
Diffstat (limited to 'linux-core/mga_drv.c')
-rw-r--r--linux-core/mga_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/mga_drv.c b/linux-core/mga_drv.c
index 7cd31ad9..bdb591ee 100644
--- a/linux-core/mga_drv.c
+++ b/linux-core/mga_drv.c
@@ -93,7 +93,6 @@ static struct drm_driver driver = {
.postinit = postinit,
.version = version,
.ioctls = mga_ioctls,
- .num_ioctls = mga_max_ioctl,
.dma_ioctl = mga_dma_buffers,
.fops = {
.owner = THIS_MODULE,
@@ -120,6 +119,7 @@ static int probe(struct pci_dev *pdev, const struct pci_device_id *ent)
static int __init mga_init(void)
{
+ driver.num_ioctls = mga_max_ioctl;
return drm_init(&driver, pciidlist);
}