#define _LINUX_SERIAL_H
#ifdef __KERNEL__
+#include <linux/types.h>
#include <asm/page.h>
/*
int xmit_fifo_size;
int custom_divisor;
int baud_base;
- unsigned int close_delay;
+ unsigned short close_delay;
char io_type;
char reserved_char[1];
int hub6;
- unsigned int closing_wait; /* time to wait before closing */
- unsigned int closing_wait2; /* no longer used... */
+ unsigned short closing_wait; /* time to wait before closing */
+ unsigned short closing_wait2; /* no longer used... */
unsigned char *iomem_base;
unsigned short iomem_reg_shift;
unsigned int port_high;
#ifdef __KERNEL__
-/* Export to allow PCMCIA to use this - Dave Hinds */
-extern int register_serial(struct serial_struct *req);
-extern void unregister_serial(int line);
+#include <linux/compiler.h>
/* Allow architectures to override entries in serial8250_ports[] at run time: */
struct uart_port; /* forward declaration */