summaryrefslogtreecommitdiff
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorRussell King <rmk@flint.arm.linux.org.uk>2004-10-30 23:27:49 +0100
committerRussell King <rmk@flint.arm.linux.org.uk>2004-10-30 23:27:49 +0100
commit0fa7474a0c424989be1c92cbc2b90edf4d0e1172 (patch)
tree19afeb9b42de22eef713fe1170dcdff8810330a6 /include/linux/serial_core.h
parentfcc32e8d8dd95f0ff749ff277d66a99d35c72eef (diff)
[SERIAL] 8250: add probe and remove device driver methods.
This change allows platform devices named "serial8250" to provide lists of serial ports to the 8250 driver at runtime, in addition to the hard coded table in include/asm-*/serial.h. The next step is to deprecate the tables in serial.h.
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r--include/linux/serial_core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 94653c5a256d..a01972bb5c52 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -17,6 +17,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifndef LINUX_SERIAL_CORE_H
+#define LINUX_SERIAL_CORE_H
/*
* The type definitions. These are from Ted Ts'o's serial.h
@@ -96,6 +98,7 @@
#include <linux/circ_buf.h>
#include <linux/spinlock.h>
#include <linux/sched.h>
+#include <linux/tty.h>
struct uart_port;
struct uart_info;
@@ -455,3 +458,5 @@ uart_handle_cts_change(struct uart_port *port, unsigned int status)
!((cflag) & CLOCAL))
#endif
+
+#endif /* LINUX_SERIAL_CORE_H */