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

Commit 32676989 authored by Jilai Wang's avatar Jilai Wang
Browse files

msm: npu: Add 32-bit application support



Both 64-bit and 32-bit applications need to be able to access NPU driver.
This change is to implement compact_ioctl to allow 32 bit application
to access NPU driver.

Change-Id: I5b0f3fdd3b5a53e6f51cbf93be382f94542a5814
Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>
parent ad1e28d6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -204,6 +204,9 @@ static const struct file_operations npu_fops = {
	.open = npu_open,
	.release = npu_close,
	.unlocked_ioctl = npu_ioctl,
#ifdef CONFIG_COMPAT
	 .compat_ioctl = npu_ioctl,
#endif
};

static const struct thermal_cooling_device_ops npu_cooling_ops = {