diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-08-17 07:09:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-17 12:46:52 -0400 |
commit | efde99cd281a3f0d3562bb2fa7e7ef60ad32fe8d (patch) | |
tree | 32e0eb08d5d044a72e83607e004628b6cdf05917 | |
parent | ae0c514cce96fa8eb68f1fdb1563eba1ff61056f (diff) |
Staging: android: binder: Make task_get_unused_fd_flags function static
Silence the following warning:
drivers/staging/android/binder.c:368:5: warning:
symbol 'task_get_unused_fd_flags' was not declared. Should it be static?
Cc: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/android/binder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c index 574e99210c36..668bec7213d5 100644 --- a/drivers/staging/android/binder.c +++ b/drivers/staging/android/binder.c | |||
@@ -365,7 +365,7 @@ binder_defer_work(struct binder_proc *proc, enum binder_deferred_state defer); | |||
365 | /* | 365 | /* |
366 | * copied from get_unused_fd_flags | 366 | * copied from get_unused_fd_flags |
367 | */ | 367 | */ |
368 | int task_get_unused_fd_flags(struct binder_proc *proc, int flags) | 368 | static int task_get_unused_fd_flags(struct binder_proc *proc, int flags) |
369 | { | 369 | { |
370 | struct files_struct *files = proc->files; | 370 | struct files_struct *files = proc->files; |
371 | int fd, error; | 371 | int fd, error; |