summaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgnc/dgnc_tty.h
diff options
context:
space:
mode:
authorDaeseok Youn <daeseok.youn@gmail.com>2016-09-26 09:43:51 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-27 13:12:26 +0200
commiteea5fd116401ed89994e11a6cc1a2e0bee83d8c9 (patch)
tree85ca6227462df2553857dedfe139153b144f1426 /drivers/staging/dgnc/dgnc_tty.h
parentf20ae478ffcf5f191dc7b9aea0489b85e97c8e4e (diff)
downloadop-kernel-dev-eea5fd116401ed89994e11a6cc1a2e0bee83d8c9.zip
op-kernel-dev-eea5fd116401ed89994e11a6cc1a2e0bee83d8c9.tar.gz
staging: dgnc: introduce the dgnc_tty_unregister()
The dgnc_tty_unregister() will be called when the dgnc_tty_register() is failed. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc/dgnc_tty.h')
-rw-r--r--drivers/staging/dgnc/dgnc_tty.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/dgnc/dgnc_tty.h b/drivers/staging/dgnc/dgnc_tty.h
index 21d3369..f065c8f 100644
--- a/drivers/staging/dgnc/dgnc_tty.h
+++ b/drivers/staging/dgnc/dgnc_tty.h
@@ -19,6 +19,7 @@
#include "dgnc_driver.h"
int dgnc_tty_register(struct dgnc_board *brd);
+void dgnc_tty_unregister(struct dgnc_board *brd);
int dgnc_tty_preinit(void);
int dgnc_tty_init(struct dgnc_board *);
OpenPOWER on IntegriCloud