cryptodev: Compilefix on 2.6.36
SVN-Revision: 23290
This commit is contained in:
parent
4c4f7be14e
commit
a8c848bb50
1 changed files with 2 additions and 0 deletions
|
@ -1019,7 +1019,9 @@ static struct file_operations cryptodev_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.open = cryptodev_open,
|
.open = cryptodev_open,
|
||||||
.release = cryptodev_release,
|
.release = cryptodev_release,
|
||||||
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
|
||||||
.ioctl = cryptodev_ioctl,
|
.ioctl = cryptodev_ioctl,
|
||||||
|
#endif
|
||||||
#ifdef HAVE_UNLOCKED_IOCTL
|
#ifdef HAVE_UNLOCKED_IOCTL
|
||||||
.unlocked_ioctl = cryptodev_unlocked_ioctl,
|
.unlocked_ioctl = cryptodev_unlocked_ioctl,
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue