summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-01-15 00:47:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-28 22:55:40 -0800
commit327b882d3bcc1fba82dbd39b5cf5a838c81218e2 (patch)
tree20e83aac815e77a08da8428a80b3150b94a5fc94 /drivers/tty
parentb64a1cbef6df47c986ad622b5b2e4d3d1940070c (diff)
downloadop-kernel-dev-327b882d3bcc1fba82dbd39b5cf5a838c81218e2.zip
op-kernel-dev-327b882d3bcc1fba82dbd39b5cf5a838c81218e2.tar.gz
Staging: speakup: Fix getting port information
Commit f79b0d9c223c ("staging: speakup: Fixed warning <linux/serial.h> instead of <asm/serial.h>") broke the port information in the speakup driver: SERIAL_PORT_DFNS only gets defined if asm/serial.h is included, and no other header includes asm/serial.h. We here make sure serialio.c does get the arch-specific definition of SERIAL_PORT_DFNS from asm/serial.h, if any. Along the way, this makes sure that we do have information for the requested serial port number (index) Fixes: f79b0d9c223c ("staging: speakup: Fixed warning <linux/serial.h> instead of <asm/serial.h>") Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Cc: stable <stable@vger.kernel.org> # 3.18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud