diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/serial_8250.h | 2 | ||||
-rw-r--r-- | include/linux/serial_core.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h index 3d37c94abbc8..77d83d929f2c 100644 --- a/include/linux/serial_8250.h +++ b/include/linux/serial_8250.h | |||
@@ -28,6 +28,8 @@ struct plat_serial8250_port { | |||
28 | unsigned char iotype; /* UPIO_* */ | 28 | unsigned char iotype; /* UPIO_* */ |
29 | unsigned char hub6; | 29 | unsigned char hub6; |
30 | upf_t flags; /* UPF_* flags */ | 30 | upf_t flags; /* UPF_* flags */ |
31 | unsigned int (*serial_in)(struct uart_port *, int); | ||
32 | void (*serial_out)(struct uart_port *, int, int); | ||
31 | }; | 33 | }; |
32 | 34 | ||
33 | /* | 35 | /* |
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 2395969faa04..60061f44f3d8 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -248,6 +248,8 @@ struct uart_port { | |||
248 | spinlock_t lock; /* port lock */ | 248 | spinlock_t lock; /* port lock */ |
249 | unsigned long iobase; /* in/out[bwl] */ | 249 | unsigned long iobase; /* in/out[bwl] */ |
250 | unsigned char __iomem *membase; /* read/write[bwl] */ | 250 | unsigned char __iomem *membase; /* read/write[bwl] */ |
251 | unsigned int (*serial_in)(struct uart_port *, int); | ||
252 | void (*serial_out)(struct uart_port *, int, int); | ||
251 | unsigned int irq; /* irq number */ | 253 | unsigned int irq; /* irq number */ |
252 | unsigned int uartclk; /* base uart clock */ | 254 | unsigned int uartclk; /* base uart clock */ |
253 | unsigned int fifosize; /* tx fifo size */ | 255 | unsigned int fifosize; /* tx fifo size */ |