cryptodev: Compilefix on 2.6.36
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 7 Oct 2010 12:12:52 +0000 (12:12 +0000)
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 7 Oct 2010 12:12:52 +0000 (12:12 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23290 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic/files/crypto/ocf/cryptodev.c

index 87a4c37..c1e9140 100644 (file)
@@ -1019,7 +1019,9 @@ static struct file_operations cryptodev_fops = {
        .owner = THIS_MODULE,
        .open = cryptodev_open,
        .release = cryptodev_release,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
        .ioctl = cryptodev_ioctl,
+#endif
 #ifdef HAVE_UNLOCKED_IOCTL
        .unlocked_ioctl = cryptodev_unlocked_ioctl,
 #endif
This page took 0.021644 seconds and 4 git commands to generate.