aboutsummaryrefslogtreecommitdiff
path: root/drivers/android
diff options
context:
space:
mode:
authorAnmin Hsu <anmin.hsu@mediatek.com>2015-10-01 18:26:45 +0800
committerMister Oyster <oysterized@gmail.com>2016-12-25 15:39:30 +0100
commite59c4296133623273cc8c3c8f0e13370da10c41e (patch)
tree5fd0e2a90b8d51c7b73c0b727eb701e92751792f /drivers/android
parentf76496065fe86586ce2a2d357e9bf33078f5f00d (diff)
Binder: fix build warning
[Detail] db_flag is not included in CONFIG_MTK_AEE_FEATURE macro define. [Solution] Add CONFIG_MTK_AEE_FEATURE macro define to db_flag [Feature] Binder MTK-Commit-Id: 7c2be71301a506592b997e575103a29f8352ba6c Change-Id: I5bca795883c63980384ab5ce50edd64562acc511 Signed-off-by: mtk09083 <ian.hou@mediatek.com> CR-Id: ALPS02319875
Diffstat (limited to 'drivers/android')
-rw-r--r--drivers/android/binder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index a135929a5..5233857a1 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -1222,7 +1222,9 @@ static void binder_check_buf(struct binder_proc *target_proc,
struct timespec exp_timestamp;
struct timeval tv;
struct rtc_time tm;
+#if defined(CONFIG_MTK_AEE_FEATURE)
int db_flag = DB_OPT_BINDER_INFO;
+#endif
int len_s, len_r;
pr_debug("buffer allocation failed on %d:0 "