staging: dgap: pass "dgap_numboards" as a paramter to dgap_found_board()
authorDaeseok Youn <daeseok.youn@gmail.com>
Tue, 3 Jun 2014 06:26:53 +0000 (15:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:22:25 +0000 (15:22 -0700)
commitefd96189398626914a2ee016dfece6609bb9d481
tree132e1e30dfc8ab1bb59eabfc8395dc75f5a50dff
parent67987aeb448dcdab08b9a2f09044480828a1f54e
staging: dgap: pass "dgap_numboards" as a paramter to dgap_found_board()

- Pass "dgap_numboards" to dgap_found_board() instead of
using a global variable.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c