summaryrefslogtreecommitdiff
path: root/drivers/staging/android/ion/mxc/mxc_ion.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/android/ion/mxc/mxc_ion.h')
-rw-r--r--drivers/staging/android/ion/mxc/mxc_ion.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/staging/android/ion/mxc/mxc_ion.h b/drivers/staging/android/ion/mxc/mxc_ion.h
new file mode 100644
index 000000000000..c8e1e892e2cd
--- /dev/null
+++ b/drivers/staging/android/ion/mxc/mxc_ion.h
@@ -0,0 +1,30 @@
+/*
+ * drivers/gpu/mxc/mxc_ion.h
+ *
+ * Copyright (C) 2011 Google, Inc.
+ * Copyright (C) 2012-2014 Freescale Semiconductor, Inc.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#ifndef _LINUX_MXC_ION_H
+#define _LINUX_MXC_ION_H
+
+#include "../ion.h"
+
+struct ion_phys_data {
+ ion_user_handle_t handle;
+ unsigned long phys;
+};
+
+#define ION_IOC_PHYS _IOWR(ION_IOC_MAGIC, 7, struct ion_phys_data)
+
+#endif