staging: ion: Fix ION_IOC_FREE compat ioctl
authorLaura Abbott <lauraa@codeaurora.org>
Wed, 5 Feb 2014 00:08:39 +0000 (16:08 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 17:03:16 +0000 (09:03 -0800)
commit8666a87611fbd8597111c96e93a2f075664ee392
tree1cce154be6b33791d5c9d39dc59b4279230b8385
parentc9e8440eca61298ecccbb27f53036124a7a3c6c8
staging: ion: Fix ION_IOC_FREE compat ioctl

The compat ioctl for ION_IOC_FREE currently passes allocation data
instead of the free data. Correct this.

Cc: Colin Cross <ccross@android.com>
Cc: Android Kernel Team <kernel-team@android.com>
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
[jstultz: Folded in a small build fix]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/compat_ion.c