]> bbs.cooldavid.org Git - net-next-2.6.git/commit
staging: android: binder: add enum usage in function arguments
authorDaniel Walker <dwalker@fifo99.com>
Fri, 12 Jun 2009 18:51:16 +0000 (11:51 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:25 +0000 (12:01 -0700)
commitfd0a2f07d9b37fa52ece5bdec4f1130e080c1f51
treec78e869888cf06c52ae841b1f5d41150d95070d5
parent9980318e5405fe34a8f7e3af439647a729d10014
staging: android: binder: add enum usage in function arguments

Declare the binder_deferred_state enum, and use the new enum
for one of the binder_defer_work function arguments. This
should keep the argument within the confines of the enum
instead of the whole int range.

Signed-off-by: Daniel Walker <dwalker@fifo99.com>
Cc: Brian Swetland <swetland@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/android/binder.c