Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 810db21f authored by Anmolpreet Kaur's avatar Anmolpreet Kaur
Browse files

qseecom: add CONFIG_COMPAT condition



Compile compat_qseecom_ioctl only if
CONFIG_COMPAT is enabled.

Change-Id: I334b0bccdaa30815ea17becdc086aa590d517f75
Signed-off-by: default avatarAnmolpreet Kaur <anmolpre@codeaurora.org>
parent b54ec6fd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
};