Staging: ti-st: give proto drivers context
authorPavan Savoy <pavan_savoy@ti.com>
Thu, 22 Jul 2010 10:32:07 +0000 (05:32 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jul 2010 19:07:28 +0000 (12:07 -0700)
protocol drivers such as BT, FM and GPS when registering
to ST now provide their own private data which they expect
when their functions namely registration completed & receive
are called.
Also upon tty_close, set protos_registered count to 0, although
all protocols are marked un-registered.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found