← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 653910] Re: package nvidia-current 195.36.24-0ubuntu1~10.04 failed to install/upgrade: error: unknown field ‘ioctl’ specified in initializer

 

The maverick version of -nvidia has this patch:

blumonc:~/ubuntu/nvidia-graphics-drivers/nvidia-graphics-drivers-260.19.06/debian$ more dkms/patches/nvidia-2.6.36-ioctl.patch 
diff --git a/nv.c b/nv.c
index 54be61e..2390c94 100644
--- a/nv.c
+++ b/nv.c
@@ -393,7 +393,7 @@ static struct file_operations nv_fops = {
     .owner     = THIS_MODULE,
     .poll      = nv_kern_poll,
 #if defined(NV_FILE_OPERATIONS_HAS_IOCTL)
-    .ioctl     = nv_kern_ioctl,
+    .unlocked_ioctl = nv_kern_unlocked_ioctl,
 #endif
 #if defined(NV_FILE_OPERATIONS_HAS_UNLOCKED_IOCTL)
     .unlocked_ioctl = nv_kern_unlocked_ioctl,

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in ubuntu.
https://bugs.launchpad.net/bugs/653910

Title:
  package nvidia-current 195.36.24-0ubuntu1~10.04 failed to
  install/upgrade:  error: unknown field ‘ioctl’ specified in
  initializer



References