aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/acpi/acpi_bus.h2
-rw-r--r--include/linux/cyclades.h3
-rw-r--r--include/linux/serial_core.h5
-rw-r--r--include/uapi/linux/serial_reg.h1
4 files changed, 10 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index fa1505292f6c..f849be28e082 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -211,7 +211,7 @@ struct acpi_device_flags {
211 u32 of_compatible_ok:1; 211 u32 of_compatible_ok:1;
212 u32 coherent_dma:1; 212 u32 coherent_dma:1;
213 u32 cca_seen:1; 213 u32 cca_seen:1;
214 u32 spi_i2c_slave:1; 214 u32 serial_bus_slave:1;
215 u32 reserved:19; 215 u32 reserved:19;
216}; 216};
217 217
diff --git a/include/linux/cyclades.h b/include/linux/cyclades.h
index 83925bd12c0b..05ee0f19448a 100644
--- a/include/linux/cyclades.h
+++ b/include/linux/cyclades.h
@@ -157,6 +157,9 @@ struct cyclades_port {
157 struct cyclades_icount icount; 157 struct cyclades_icount icount;
158 struct completion shutdown_wait; 158 struct completion shutdown_wait;
159 int throttle; 159 int throttle;
160#ifdef CONFIG_CYZ_INTR
161 struct timer_list rx_full_timer;
162#endif
160}; 163};
161 164
162#define CLOSING_WAIT_DELAY 30*HZ 165#define CLOSING_WAIT_DELAY 30*HZ
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 5553e04e59c9..37b044e78333 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -501,4 +501,9 @@ static inline int uart_handle_break(struct uart_port *port)
501 (cflag) & CRTSCTS || \ 501 (cflag) & CRTSCTS || \
502 !((cflag) & CLOCAL)) 502 !((cflag) & CLOCAL))
503 503
504/*
505 * Common device tree parsing helpers
506 */
507void of_get_rs485_mode(struct device_node *np, struct serial_rs485 *rs485conf);
508
504#endif /* LINUX_SERIAL_CORE_H */ 509#endif /* LINUX_SERIAL_CORE_H */
diff --git a/include/uapi/linux/serial_reg.h b/include/uapi/linux/serial_reg.h
index 619fe6111dc9..be07b5470f4b 100644
--- a/include/uapi/linux/serial_reg.h
+++ b/include/uapi/linux/serial_reg.h
@@ -158,6 +158,7 @@
158 */ 158 */
159#define UART_DLL 0 /* Out: Divisor Latch Low */ 159#define UART_DLL 0 /* Out: Divisor Latch Low */
160#define UART_DLM 1 /* Out: Divisor Latch High */ 160#define UART_DLM 1 /* Out: Divisor Latch High */
161#define UART_DIV_MAX 0xFFFF /* Max divisor value */
161 162
162/* 163/*
163 * LCR=0xBF (or DLAB=1 for 16C660) 164 * LCR=0xBF (or DLAB=1 for 16C660)