summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2012-02-01 15:58:57 -0800
committerColin Cross <ccross@android.com>2012-02-14 11:25:39 -0800
commit2c27087440fb7f32c3a753e9f4e0ea89a1e5c909 (patch)
treef273583a0d5f256bf5559755dfc4b1f1ef42ad1a /drivers
parent845c038adc58e7448f58bc2cebf7c428601c9da3 (diff)
binder: fix warning
Convert binder_debug_no_lock to a bool to fix a warning: drivers/staging/android/binder.c:107: warning: return from incompatible pointer type Change-Id: I3ce97c1394cff7903d8bc9191f479bf55915920f Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/android/binder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c
index 7491801a661..d24aa526b3b 100644
--- a/drivers/staging/android/binder.c
+++ b/drivers/staging/android/binder.c
@@ -102,7 +102,7 @@ static uint32_t binder_debug_mask = BINDER_DEBUG_USER_ERROR |
BINDER_DEBUG_FAILED_TRANSACTION | BINDER_DEBUG_DEAD_TRANSACTION;
module_param_named(debug_mask, binder_debug_mask, uint, S_IWUSR | S_IRUGO);
-static int binder_debug_no_lock;
+static bool binder_debug_no_lock;
module_param_named(proc_no_lock, binder_debug_no_lock, bool, S_IWUSR | S_IRUGO);
static DECLARE_WAIT_QUEUE_HEAD(binder_user_error_wait);