mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcedev : Solve compilation issues
This change solves compilation issues that came up while enabling qcedev driver in sdxlemur. Change-Id: Iaa261681a3cef421dcb21908e1402b146e912a55 Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
This commit is contained in:
parent
a2839ca38b
commit
4130da7ced
1 changed files with 10 additions and 10 deletions
|
|
@ -187,16 +187,6 @@ static int qcedev_release(struct inode *inode, struct file *file);
|
|||
static int start_cipher_req(struct qcedev_control *podev);
|
||||
static int start_sha_req(struct qcedev_control *podev);
|
||||
|
||||
static const struct file_operations qcedev_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.unlocked_ioctl = qcedev_ioctl,
|
||||
#ifdef CONFIG_COMPAT
|
||||
.compat_ioctl = compat_qcedev_ioctl,
|
||||
#endif
|
||||
.open = qcedev_open,
|
||||
.release = qcedev_release,
|
||||
};
|
||||
|
||||
static struct qcedev_control qce_dev[] = {
|
||||
{
|
||||
.magic = QCEDEV_MAGIC,
|
||||
|
|
@ -1994,6 +1984,16 @@ exit_free_qcedev_areq:
|
|||
return err;
|
||||
}
|
||||
|
||||
static const struct file_operations qcedev_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.unlocked_ioctl = qcedev_ioctl,
|
||||
#ifdef CONFIG_COMPAT
|
||||
.compat_ioctl = compat_qcedev_ioctl,
|
||||
#endif
|
||||
.open = qcedev_open,
|
||||
.release = qcedev_release,
|
||||
};
|
||||
|
||||
static int qcedev_probe_device(struct platform_device *pdev)
|
||||
{
|
||||
void *handle = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue