gpu: ion: Fix bug where MAP ioctl was no longer supported
authorRebecca Schultz Zavin <rebecca@android.com>
Fri, 13 Dec 2013 22:24:24 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:55:40 +0000 (08:55 -0800)
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c

index 3167c1d46169f7ae4aa9157840d52713d32d39d8..3f22f88a3906e9f31b88daa3aac3e19181879f41 100644 (file)
@@ -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;