summaryrefslogtreecommitdiffstats
path: root/drivers/android/binder.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/android/binder.c')
-rw-r--r--drivers/android/binder.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index dc1c83eafc22..ef2d3e582368 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -122,7 +122,7 @@ static uint32_t binder_debug_mask = BINDER_DEBUG_USER_ERROR |
122 BINDER_DEBUG_FAILED_TRANSACTION | BINDER_DEBUG_DEAD_TRANSACTION; 122 BINDER_DEBUG_FAILED_TRANSACTION | BINDER_DEBUG_DEAD_TRANSACTION;
123module_param_named(debug_mask, binder_debug_mask, uint, 0644); 123module_param_named(debug_mask, binder_debug_mask, uint, 0644);
124 124
125static char *binder_devices_param = CONFIG_ANDROID_BINDER_DEVICES; 125char *binder_devices_param = CONFIG_ANDROID_BINDER_DEVICES;
126module_param_named(devices, binder_devices_param, charp, 0444); 126module_param_named(devices, binder_devices_param, charp, 0444);
127 127
128static DECLARE_WAIT_QUEUE_HEAD(binder_user_error_wait); 128static DECLARE_WAIT_QUEUE_HEAD(binder_user_error_wait);
@@ -6131,7 +6131,8 @@ static int __init binder_init(void)
6131 &transaction_log_fops); 6131 &transaction_log_fops);
6132 } 6132 }
6133 6133
6134 if (strcmp(binder_devices_param, "") != 0) { 6134 if (!IS_ENABLED(CONFIG_ANDROID_BINDERFS) &&
6135 strcmp(binder_devices_param, "") != 0) {
6135 /* 6136 /*
6136 * Copy the module_parameter string, because we don't want to 6137 * Copy the module_parameter string, because we don't want to
6137 * tokenize it in-place. 6138 * tokenize it in-place.