aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/android/uapi/ion.h
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2017-04-03 11:57:51 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-08 12:36:11 +0200
commit73794b373f0f3d5606daec859aae62599b8025f4 (patch)
tree616c874c1f871f45f8ddb9b7506028be8d002372 /drivers/staging/android/uapi/ion.h
parentstaging: android: ion: Remove crufty cache support (diff)
downloadlinux-dev-73794b373f0f3d5606daec859aae62599b8025f4.tar.xz
linux-dev-73794b373f0f3d5606daec859aae62599b8025f4.zip
staging: android: ion: Remove custom ioctl interface
Ion is now moving towards a unified interfact. This makes the custom ioctl interface unneeded. Remove it. Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/uapi/ion.h')
-rw-r--r--drivers/staging/android/uapi/ion.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/staging/android/uapi/ion.h b/drivers/staging/android/uapi/ion.h
index c3a87a580ab8..8ff471dce806 100644
--- a/drivers/staging/android/uapi/ion.h
+++ b/drivers/staging/android/uapi/ion.h
@@ -115,19 +115,6 @@ struct ion_handle_data {
ion_user_handle_t handle;
};
-/**
- * struct ion_custom_data - metadata passed to/from userspace for a custom ioctl
- * @cmd: the custom ioctl function to call
- * @arg: additional data to pass to the custom ioctl, typically a user
- * pointer to a predefined structure
- *
- * This works just like the regular cmd and arg fields of an ioctl.
- */
-struct ion_custom_data {
- unsigned int cmd;
- unsigned long arg;
-};
-
#define MAX_HEAP_NAME 32
/**
@@ -207,14 +194,6 @@ struct ion_heap_query {
#define ION_IOC_IMPORT _IOWR(ION_IOC_MAGIC, 5, struct ion_fd_data)
/**
- * DOC: ION_IOC_CUSTOM - call architecture specific ion ioctl
- *
- * Takes the argument of the architecture specific ioctl to call and
- * passes appropriate userdata for that ioctl
- */
-#define ION_IOC_CUSTOM _IOWR(ION_IOC_MAGIC, 6, struct ion_custom_data)
-
-/**
* DOC: ION_IOC_HEAP_QUERY - information about available heaps
*
* Takes an ion_heap_query structure and populates information about