diff options
author | Jon Smirl <jonsmirl@yahoo.com> | 2004-11-09 03:36:06 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@yahoo.com> | 2004-11-09 03:36:06 +0000 |
commit | 76b1a7f2b423eef828e911f93f1ef38927a5507e (patch) | |
tree | 5077d442ae46f339bb1f3797ce1e1c4e1b0f18ce | |
parent | 6483e7a1ac8395828eb3a13f763cf99d6ef89535 (diff) |
make linux-core build again
-rw-r--r-- | linux-core/mach64_drv.c | 2 | ||||
-rw-r--r-- | linux-core/sis_drv.c | 2 |
2 files changed, 2 insertions, 2 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); } diff --git a/linux-core/sis_drv.c b/linux-core/sis_drv.c index 70dd10e7..b38ae201 100644 --- a/linux-core/sis_drv.c +++ b/linux-core/sis_drv.c @@ -75,7 +75,6 @@ static struct drm_driver driver = { .postinit = postinit, .version = version, .ioctls = sis_ioctls, - .num_ioctls = sis_max_ioctl, .fops = { .owner = THIS_MODULE, .open = drm_open, @@ -100,6 +99,7 @@ static int probe(struct pci_dev *pdev, const struct pci_device_id *ent) static int __init sis_init(void) { + driver.num_ioctls = sis_max_ioctl; return drm_init(&driver, pciidlist); } |