diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-16 15:26:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-20 10:30:15 +0800 |
commit | 9246a4a98a01bafc017118bb2512d394d040fcbe (patch) | |
tree | 7dbfb91b1584125c86a46f53d649809625011b9b /drivers/android/binder.c | |
parent | bc2d62a01b336983b8abd1cb2337f305352f29ef (diff) | |
download | op-kernel-dev-9246a4a98a01bafc017118bb2512d394d040fcbe.zip op-kernel-dev-9246a4a98a01bafc017118bb2512d394d040fcbe.tar.gz |
android: binder: remove binder.h
binder.h isn't needed to just include a uapi file and set a single
define, so move it into binder.c to save a few lines of code.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder.c')
-rw-r--r-- | drivers/android/binder.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c index c69c40d..8c43521 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -38,7 +38,11 @@ #include <linux/slab.h> #include <linux/pid_namespace.h> -#include "binder.h" +#ifdef CONFIG_ANDROID_BINDER_IPC_32BIT +#define BINDER_IPC_32BIT 1 +#endif + +#include <uapi/linux/android/binder.h> #include "binder_trace.h" static DEFINE_MUTEX(binder_main_lock); |