summaryrefslogtreecommitdiffstats
path: root/include/linux/serial_8250.h
diff options
context:
space:
mode:
authorEd Blake <ed.blake@imgtec.com>2016-11-10 18:07:54 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-16 10:59:38 +0100
commit98838d95075a5295f3478ceba18bcccf472e30f4 (patch)
tree9b38f47ee9a97a3810db662e0f168f7d0303d38b /include/linux/serial_8250.h
parent5fe86674840c6773d09943a78a5f7f3bf2420ffd (diff)
downloadblackbird-op-linux-98838d95075a5295f3478ceba18bcccf472e30f4.tar.gz
blackbird-op-linux-98838d95075a5295f3478ceba18bcccf472e30f4.zip
serial: 8250: Add IrDA to UART capabilities
Add an IrDA UART capability flag and change the type of uart_8250_port.capabilities to be u32 rather than unsigned short to accommodate the additional flag. Signed-off-by: Ed Blake <ed.blake@imgtec.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial_8250.h')
-rw-r--r--include/linux/serial_8250.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h
index 48ec7651989b..04185e03d7be 100644
--- a/include/linux/serial_8250.h
+++ b/include/linux/serial_8250.h
@@ -94,7 +94,7 @@ struct uart_8250_port {
struct uart_port port;
struct timer_list timer; /* "no irq" timer */
struct list_head list; /* ports on this IRQ */
- unsigned short capabilities; /* port capabilities */
+ u32 capabilities; /* port capabilities */
unsigned short bugs; /* port bugs */
bool fifo_bug; /* min RX trigger if enabled */
unsigned int tx_loadsz; /* transmit fifo load size */
@@ -168,6 +168,6 @@ int serial8250_console_setup(struct uart_port *port, char *options, bool probe);
extern void serial8250_set_isa_configurator(void (*v)
(int port, struct uart_port *up,
- unsigned short *capabilities));
+ u32 *capabilities));
#endif
OpenPOWER on IntegriCloud