diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-01-15 02:47:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-29 09:55:40 +0300 |
commit | 327b882d3bcc1fba82dbd39b5cf5a838c81218e2 (patch) | |
tree | 20e83aac815e77a08da8428a80b3150b94a5fc94 /include/linux/netdev_features.h | |
parent | b64a1cbef6df47c986ad622b5b2e4d3d1940070c (diff) | |
download | linux-327b882d3bcc1fba82dbd39b5cf5a838c81218e2.tar.xz |
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 'include/linux/netdev_features.h')
0 files changed, 0 insertions, 0 deletions