mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
qseecom: add CONFIG_COMPAT condition
Compile compat_qseecom_ioctl only if CONFIG_COMPAT is enabled. Change-Id: I334b0bccdaa30815ea17becdc086aa590d517f75 Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
This commit is contained in:
parent
b54ec6fdfe
commit
810db21f77
1 changed files with 2 additions and 0 deletions
|
|
@ -8426,7 +8426,9 @@ static int qseecom_release(struct inode *inode, struct file *file)
|
|||
static const struct file_operations qseecom_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.unlocked_ioctl = qseecom_ioctl,
|
||||
#ifdef CONFIG_COMPAT
|
||||
.compat_ioctl = compat_qseecom_ioctl,
|
||||
#endif
|
||||
.open = qseecom_open,
|
||||
.release = qseecom_release
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue