]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/serial.h
[PATCH] pktcdvd: Don't waste kernel memory
[linux-2.6-omap-h63xx.git] / include / linux / serial.h
index 00145822fb740d7b496d417204d4831ecd0a6c89..33fc8cb8ddfbaedf234300c397a87b50895e1ec7 100644 (file)
@@ -11,6 +11,7 @@
 #define _LINUX_SERIAL_H
 
 #ifdef __KERNEL__
+#include <linux/types.h>
 #include <asm/page.h>
 
 /*
@@ -174,9 +175,7 @@ struct serial_icounter_struct {
 
 
 #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 */