diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/raid/bitmap.h | 2 | ||||
| -rw-r--r-- | include/linux/serial.h | 6 | ||||
| -rw-r--r-- | include/linux/serialP.h | 1 | ||||
| -rw-r--r-- | include/linux/serial_core.h | 5 |
4 files changed, 8 insertions, 6 deletions
diff --git a/include/linux/raid/bitmap.h b/include/linux/raid/bitmap.h index e24b74b11150..6213e976eade 100644 --- a/include/linux/raid/bitmap.h +++ b/include/linux/raid/bitmap.h | |||
| @@ -262,7 +262,7 @@ void bitmap_write_all(struct bitmap *bitmap); | |||
| 262 | int bitmap_startwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors); | 262 | int bitmap_startwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors); |
| 263 | void bitmap_endwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors, | 263 | void bitmap_endwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors, |
| 264 | int success); | 264 | int success); |
| 265 | int bitmap_start_sync(struct bitmap *bitmap, sector_t offset, int *blocks); | 265 | int bitmap_start_sync(struct bitmap *bitmap, sector_t offset, int *blocks, int degraded); |
| 266 | void bitmap_end_sync(struct bitmap *bitmap, sector_t offset, int *blocks, int aborted); | 266 | void bitmap_end_sync(struct bitmap *bitmap, sector_t offset, int *blocks, int aborted); |
| 267 | void bitmap_close_sync(struct bitmap *bitmap); | 267 | void bitmap_close_sync(struct bitmap *bitmap); |
| 268 | 268 | ||
diff --git a/include/linux/serial.h b/include/linux/serial.h index 00145822fb74..9f2d85284d0b 100644 --- a/include/linux/serial.h +++ b/include/linux/serial.h | |||
| @@ -174,9 +174,11 @@ struct serial_icounter_struct { | |||
| 174 | 174 | ||
| 175 | 175 | ||
| 176 | #ifdef __KERNEL__ | 176 | #ifdef __KERNEL__ |
| 177 | #include <linux/compiler.h> | ||
| 178 | |||
| 177 | /* Export to allow PCMCIA to use this - Dave Hinds */ | 179 | /* Export to allow PCMCIA to use this - Dave Hinds */ |
| 178 | extern int register_serial(struct serial_struct *req); | 180 | extern int __deprecated register_serial(struct serial_struct *req); |
| 179 | extern void unregister_serial(int line); | 181 | extern void __deprecated unregister_serial(int line); |
| 180 | 182 | ||
| 181 | /* Allow architectures to override entries in serial8250_ports[] at run time: */ | 183 | /* Allow architectures to override entries in serial8250_ports[] at run time: */ |
| 182 | struct uart_port; /* forward declaration */ | 184 | struct uart_port; /* forward declaration */ |
diff --git a/include/linux/serialP.h b/include/linux/serialP.h index 2307f11d8a6b..2b2f35a64d75 100644 --- a/include/linux/serialP.h +++ b/include/linux/serialP.h | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | * For definitions of the flags field, see tty.h | 19 | * For definitions of the flags field, see tty.h |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <linux/version.h> | ||
| 23 | #include <linux/config.h> | 22 | #include <linux/config.h> |
| 24 | #include <linux/termios.h> | 23 | #include <linux/termios.h> |
| 25 | #include <linux/workqueue.h> | 24 | #include <linux/workqueue.h> |
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index d6025af7efac..30b64f3534f4 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
| @@ -122,6 +122,7 @@ | |||
| 122 | #ifdef __KERNEL__ | 122 | #ifdef __KERNEL__ |
| 123 | 123 | ||
| 124 | #include <linux/config.h> | 124 | #include <linux/config.h> |
| 125 | #include <linux/compiler.h> | ||
| 125 | #include <linux/interrupt.h> | 126 | #include <linux/interrupt.h> |
| 126 | #include <linux/circ_buf.h> | 127 | #include <linux/circ_buf.h> |
| 127 | #include <linux/spinlock.h> | 128 | #include <linux/spinlock.h> |
| @@ -359,8 +360,8 @@ struct tty_driver *uart_console_device(struct console *co, int *index); | |||
| 359 | */ | 360 | */ |
| 360 | int uart_register_driver(struct uart_driver *uart); | 361 | int uart_register_driver(struct uart_driver *uart); |
| 361 | void uart_unregister_driver(struct uart_driver *uart); | 362 | void uart_unregister_driver(struct uart_driver *uart); |
| 362 | void uart_unregister_port(struct uart_driver *reg, int line); | 363 | void __deprecated uart_unregister_port(struct uart_driver *reg, int line); |
| 363 | int uart_register_port(struct uart_driver *reg, struct uart_port *port); | 364 | int __deprecated uart_register_port(struct uart_driver *reg, struct uart_port *port); |
| 364 | int uart_add_one_port(struct uart_driver *reg, struct uart_port *port); | 365 | int uart_add_one_port(struct uart_driver *reg, struct uart_port *port); |
| 365 | int uart_remove_one_port(struct uart_driver *reg, struct uart_port *port); | 366 | int uart_remove_one_port(struct uart_driver *reg, struct uart_port *port); |
| 366 | int uart_match_port(struct uart_port *port1, struct uart_port *port2); | 367 | int uart_match_port(struct uart_port *port1, struct uart_port *port2); |
