staging: speakup: add functions to register and unregister ldisc
authorOkash Khawaja <okash.khawaja@gmail.com>
Sun, 16 Jul 2017 16:18:25 +0000 (17:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jul 2017 07:03:21 +0000 (09:03 +0200)
commit9f8dced2085c33a633d2f0a1abbf13ff5a7ed8c9
treed65cd2110cff79cad93e5261a436648156b84e37
parent216ce2962089b6218708bf87d96e6b1fbadba1d7
staging: speakup: add functions to register and unregister ldisc

This patch adds the above two functions and makes them available to
main.c where they will be called during init and exit functions of
main speakup module. Following patch will make use of them.

Signed-off-by: Okash Khawaja <okash.khawaja@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/spk_priv.h
drivers/staging/speakup/spk_ttyio.c