[PATCH v2 2/4] staging: speakup: add spk_serial_out_tty()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



spk_serial_out_tty() simply delegates to spk_serial_out() for now.

Signed-off-by: Okash Khawaja <okash.khawaja@xxxxxxxxx>
---
 drivers/staging/speakup/serialio.c | 6 ++++++
 drivers/staging/speakup/spk_priv.h | 1 +
 2 files changed, 7 insertions(+)

diff --git a/drivers/staging/speakup/serialio.c b/drivers/staging/speakup/serialio.c
index c2c435c..5110822 100644
--- a/drivers/staging/speakup/serialio.c
+++ b/drivers/staging/speakup/serialio.c
@@ -217,6 +217,12 @@ int spk_serial_out(const char ch)
 }
 EXPORT_SYMBOL_GPL(spk_serial_out);

+int spk_serial_out_tty(const char ch)
+{
+	return spk_serial_out(ch);
+}
+EXPORT_SYMBOL_GPL(spk_serial_out_tty);
+
 void spk_serial_release(void)
 {
 	if (speakup_info.port_tts == 0)
diff --git a/drivers/staging/speakup/spk_priv.h b/drivers/staging/speakup/spk_priv.h
index 98c4b6f..bd85135 100644
--- a/drivers/staging/speakup/spk_priv.h
+++ b/drivers/staging/speakup/spk_priv.h
@@ -46,6 +46,7 @@ int spk_wait_for_xmitr(void);
 unsigned char spk_serial_in(void);
 unsigned char spk_serial_in_nowait(void);
 int spk_serial_out(const char ch);
+int spk_serial_out_tty(const char ch);
 void spk_serial_release(void);

 char synth_buffer_getc(void);
--
2.10.2

_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux