]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ion: add new ion_user_handle_t type for the user-space token
authorRom Lemarchand <romlem@google.com>
Fri, 13 Dec 2013 22:24:53 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:57:18 +0000 (08:57 -0800)
commit22b7f24d6131ac4cbbf03f7a81000942e74fcd49
treede74207e82dd055a3bd4a339e46dce92347911ac
parentb4f8d242c6fb5e631ba861c1a6024ae14b02f5a8
ion: add new ion_user_handle_t type for the user-space token

Declare new ion_user_handle_t type to contain the token returned to user-space.
This allows a 2-step migration of the user-space code to a new kernel header
first, then will allow us to change the definition of the ion_user_handle_type_t
to int without breaking the API.

Signed-off-by: Rom Lemarchand <romlem@google.com>
(cherry picked from commit ebb8269bbb05b06ecedca3e21b3e65f23d48eadd)
[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
drivers/staging/android/ion/ion.h