summaryrefslogtreecommitdiff
path: root/linux-core
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
parent76b1a7f2b423eef828e911f93f1ef38927a5507e (diff)
Fix more build problems on linux-core
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/i915_drv.c2
-rw-r--r--linux-core/mga_drv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/i915_drv.c b/linux-core/i915_drv.c
index 32694fc3..b033737f 100644
--- a/linux-core/i915_drv.c
+++ b/linux-core/i915_drv.c
@@ -70,7 +70,6 @@ static struct drm_driver driver = {
.postinit = postinit,
.version = version,
.ioctls = i915_ioctls,
- .num_ioctls = i915_max_ioctl,
.fops = {
.owner = THIS_MODULE,
.open = drm_open,
@@ -95,6 +94,7 @@ static int probe(struct pci_dev *pdev, const struct pci_device_id *ent)
static int __init i915_init(void)
{
+ driver.num_ioctls = i915_max_ioctl;
return drm_init(&driver, pciidlist);
}
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);
}