summaryrefslogtreecommitdiff
path: root/linux-core/mach64_drv.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-11-09 03:36:06 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-11-09 03:36:06 +0000
commit76b1a7f2b423eef828e911f93f1ef38927a5507e (patch)
tree5077d442ae46f339bb1f3797ce1e1c4e1b0f18ce /linux-core/mach64_drv.c
parent6483e7a1ac8395828eb3a13f763cf99d6ef89535 (diff)
make linux-core build again
Diffstat (limited to 'linux-core/mach64_drv.c')
-rw-r--r--linux-core/mach64_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/mach64_drv.c b/linux-core/mach64_drv.c
index 17ba250c..5852c443 100644
--- a/linux-core/mach64_drv.c
+++ b/linux-core/mach64_drv.c
@@ -84,7 +84,6 @@ static struct drm_driver driver = {
.postinit = postinit,
.version = version,
.ioctls = mach64_ioctls,
- .num_ioctls = mach64_max_ioctl,
.dma_ioctl = mach64_dma_buffers,
.fops = {
.owner = THIS_MODULE,
@@ -111,6 +110,7 @@ static int probe(struct pci_dev *pdev, const struct pci_device_id *ent)
static int __init mach64_init(void)
{
+ driver.num_ioctls = mach64_max_ioctl;
return drm_init(&driver, pciidlist);
}