OSDN Git Service

staging: vt6656: main_usb.c Replace DEVICE_PARAM RxDescriptors0
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 16 Jul 2014 21:22:06 +0000 (22:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:01:53 +0000 (18:01 -0700)
commit2f020ebcda486855da4f462b5d52feca1d3f1f77
tree39ea1d915ef6c414cc491fc01392830404e0abbe
parentbccf11404690235491515c2a19ef945604e71ec0
staging: vt6656: main_usb.c Replace DEVICE_PARAM RxDescriptors0

Replace with vnt_rx_buffers using module_param_named and
MODULE_PARM_DESC

Check user doe not set rx_buffer beyond the define limits of driver

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c