Code:
--- kernel/nv.c 2010-07-29 12:23:00.000000000 +0400 +++ kernel/nv.c 2010-08-14 15:37:17.694646020 +0400 @@ -18,7 +18,7 @@ #include "rmil.h" #if defined(MODULE_LICENSE) -MODULE_LICENSE("NVIDIA"); +MODULE_LICENSE("GPL v2"); #endif #if defined(MODULE_INFO) MODULE_INFO(supported, "external"); @@ -423,7 +423,7 @@ static struct file_operations nv_fops = { .owner = THIS_MODULE, .poll = nv_kern_poll, - .ioctl = nv_kern_ioctl, + .unlocked_ioctl = nv_kern_ioctl, #if defined(HAVE_UNLOCKED_IOCTL) .unlocked_ioctl = nv_kern_unlocked_ioctl, #endif
Comment