From: Michael Büsch Date: Thu, 7 Oct 2010 12:12:52 +0000 (+0000) Subject: cryptodev: Compilefix on 2.6.36 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a8c848bb5049392530dd74284f0488d63ce6319c;p=librecmc%2Flibrecmc.git cryptodev: Compilefix on 2.6.36 SVN-Revision: 23290 --- diff --git a/target/linux/generic/files/crypto/ocf/cryptodev.c b/target/linux/generic/files/crypto/ocf/cryptodev.c index 87a4c379d4..c1e9140a05 100644 --- a/target/linux/generic/files/crypto/ocf/cryptodev.c +++ b/target/linux/generic/files/crypto/ocf/cryptodev.c @@ -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