summaryrefslogtreecommitdiff
path: root/linux-core/i915_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/i915_drv.c')
-rw-r--r--linux-core/i915_drv.c2
1 files changed, 1 insertions, 1 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);
}