USB: serial: export generic throttle and unthrottle
authorJohan Hovold <jhovold@gmail.com>
Wed, 17 Mar 2010 22:05:59 +0000 (23:05 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:34 +0000 (13:21 -0700)
commitf1e949ac4ea1f4e37187949944899afeaff33e1e
tree5e8a257fcf357549dbf992008c96fb5cc3d994dc
parentf08e07ac8b87b1a4b8ff88a061195e99282dfbbd
USB: serial: export generic throttle and unthrottle

Allow drivers to use the generic throttle and unthrottle implementation.
This makes sense for drivers using the generic read functionality.

Note that drivers need to set these explicitly in order to enable them
(i.e., we do not set them at port probe if not defined).

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/generic.c