diff options
author | Michael Büsch <mb@bu3sch.de> | 2010-10-07 12:12:52 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2010-10-07 12:12:52 +0000 |
commit | a8c848bb5049392530dd74284f0488d63ce6319c (patch) | |
tree | e2f70b94176d1a3877f4a50ef6fd20fd21d67fe0 /target/linux/generic/files | |
parent | 4c4f7be14e79fe17f9bd2b6728afaaead3720f7b (diff) | |
download | mtk-20170518-a8c848bb5049392530dd74284f0488d63ce6319c.zip mtk-20170518-a8c848bb5049392530dd74284f0488d63ce6319c.tar.gz mtk-20170518-a8c848bb5049392530dd74284f0488d63ce6319c.tar.bz2 |
cryptodev: Compilefix on 2.6.36
SVN-Revision: 23290
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r-- | target/linux/generic/files/crypto/ocf/cryptodev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic/files/crypto/ocf/cryptodev.c b/target/linux/generic/files/crypto/ocf/cryptodev.c index 87a4c37..c1e9140 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 |