]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69519e9090a9a3b258991bc75845e4fc202c89f9
treed0ed96cfe9af7d54dc5e1f655c00ee82162b4c8c
parent3c7b9e1911b099cec7d2badf382400a95abd834a
Staging: ti-st: give proto drivers context

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>
drivers/staging/ti-st/bt_drv.c
drivers/staging/ti-st/st.h
drivers/staging/ti-st/st_core.c