]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: speakup, do not use serialP
authorJiri Slaby <jslaby@suse.cz>
Mon, 5 Mar 2012 13:52:11 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 19:47:02 +0000 (11:47 -0800)
commit3b800e74ec9e43942459712c7c18b3e88cc2b3e5
tree59cfd3fd39c88145dd581a622b555e3bd119d17d
parent51450a680296c5e574fd2a111c19d69f5ea0b503
TTY: speakup, do not use serialP

The structures there are going away. And speakup has enough troubles
already.

So define a structure similar to what 8250 does: old_serial_port.
There define an array of speed, port base and so on needed for
configuration. Then use this structure instead of serial_state defined
in serialP.h.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: William Hubbs <w.d.hubbs@gmail.com>
Cc: Chris Brannon <chris@the-brannons.com>
Cc: Kirk Reiser <kirk@braille.uwo.ca>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/serialio.c
drivers/staging/speakup/serialio.h
drivers/staging/speakup/spk_priv.h
drivers/staging/speakup/synth.c