summaryrefslogtreecommitdiffstats
path: root/drivers/android/binder.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-16 14:40:38 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-20 04:30:15 +0200
commit777783e0abae3cab7555bb182776f9ffaa35631a (patch)
treed7f183097ce9fa8c6944d0396c8a47d8b9ddd977 /drivers/android/binder.h
parentstaging: bcm: remove driver (diff)
downloadlinux-777783e0abae3cab7555bb182776f9ffaa35631a.tar.xz
linux-777783e0abae3cab7555bb182776f9ffaa35631a.zip
staging: android: binder: move to the "real" part of the kernel
The Android binder code has been "stable" for many years now. No matter what comes in the future, we are going to have to support this API, so might as well move it to the "real" part of the kernel as there's no real work that needs to be done to the existing code. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder.h')
-rw-r--r--drivers/android/binder.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/android/binder.h b/drivers/android/binder.h
new file mode 100644
index 000000000000..5dc6a66b0665
--- /dev/null
+++ b/drivers/android/binder.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2008 Google, Inc.
+ *
+ * Based on, but no longer compatible with, the original
+ * OpenBinder.org binder driver interface, which is:
+ *
+ * Copyright (c) 2005 Palmsource, 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_BINDER_H
+#define _LINUX_BINDER_H
+
+#ifdef CONFIG_ANDROID_BINDER_IPC_32BIT
+#define BINDER_IPC_32BIT 1
+#endif
+
+#include <uapi/linux/android/binder.h>
+
+#endif /* _LINUX_BINDER_H */
+