public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
From: Okash Khawaja <okash.khawaja@gmail.com>
To: kirk@reisers.ca, samuel.thibault@ens-lyon.org,
	david.a.borowski@gmail.com, chris@the-brannons.com,
	w.d.hubbs@gmail.com, gregkh@linuxfoundation.org
Cc: speakup@linux-speakup.org, devel@driverdev.osuosl.org
Subject: [PATCH v2 2/4] staging: speakup: add spk_serial_out_tty()
Date: Sat, 19 Nov 2016 18:39:44 +0000	[thread overview]
Message-ID: <20161119183944.GA2087@sanghar> (raw)
In-Reply-To: <20161119183728.GA2082@sanghar>

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

Signed-off-by: Okash Khawaja <okash.khawaja@gmail.com>
---
 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


  reply	other threads:[~ UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
 [PATCH v2 0/4] staging: speakup: refactor to make room for serial comms changes Okash Khawaja
 ` [PATCH v2 1/4] staging: speakup: add serial_out() method to spk_synth Okash Khawaja
   ` Okash Khawaja [this message]
     ` [PATCH v2 3/4] staging: speakup: initialise serial_out() method in drivers Okash Khawaja
       ` [PATCH v2 4/4] staging: speakup: replace spk_serial_out() calls with serial_out() Okash Khawaja
 ` [PATCH v2 0/4] staging: speakup: refactor to make room for serial comms changes Samuel Thibault
   ` Okash Khawaja
     [not found]   ` <20161121100520.GA22858@kroah.com>
     ` Okash Khawaja

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161119183944.GA2087@sanghar \
    --to=okash.khawaja@gmail.com \
    --cc=chris@the-brannons.com \
    --cc=david.a.borowski@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kirk@reisers.ca \
    --cc=samuel.thibault@ens-lyon.org \
    --cc=speakup@linux-speakup.org \
    --cc=w.d.hubbs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).