summaryrefslogtreecommitdiffstats
path: root/drivers/android
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-09-25 14:30:36 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-02 15:53:53 -0700
commitf4608ce917d6f50824f4c609d52a3c8900c59164 (patch)
tree1063d60eac2d57cb9c6b070f71ae98318d1c4858 /drivers/android
parent15c6784c7cee3b653f127b41340210284dea66f6 (diff)
downloadblackbird-op-linux-f4608ce917d6f50824f4c609d52a3c8900c59164.tar.gz
blackbird-op-linux-f4608ce917d6f50824f4c609d52a3c8900c59164.zip
binder: make symbol 'binder_free_buf' static
Fixes the following sparse warning: drivers/android/binder.c:3312:1: warning: symbol 'binder_free_buf' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android')
-rw-r--r--drivers/android/binder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index 1b54bb57a9fb..cb30a524d16d 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -3308,7 +3308,7 @@ err_invalid_target_handle:
*
* Cleanup buffer and free it.
*/
-void
+static void
binder_free_buf(struct binder_proc *proc, struct binder_buffer *buffer)
{
if (buffer->transaction) {
OpenPOWER on IntegriCloud