From: Rebecca Schultz Zavin Date: Fri, 13 Dec 2013 22:24:24 +0000 (-0800) Subject: gpu: ion: Fix bug where MAP ioctl was no longer supported X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=df0f6c7634f0856c3eb3d26ddc909d414199f6a7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git gpu: ion: Fix bug where MAP ioctl was no longer supported Signed-off-by: Rebecca Schultz Zavin [jstultz: modified patch to apply to staging directory] Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 3167c1d46169..3f22f88a3906 100644 --- a/drivers/staging/android/ion/ion.c +++ b/drivers/staging/android/ion/ion.c @@ -1086,6 +1086,7 @@ static long ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) break; } case ION_IOC_SHARE: + case ION_IOC_MAP: { struct ion_fd_data data;