]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/xtensa/platform-iss/console.c
Pull video into release branch
[linux-2.6-omap-h63xx.git] / arch / xtensa / platform-iss / console.c
index 5c947cae75207d91825ead1b34cf59fdc516bcf7..854677d0c3f680feccffe731c2db72a95116ff61 100644 (file)
 #include <linux/param.h>
 #include <linux/serial.h>
 #include <linux/serialP.h>
-#include <linux/console.h>
 
 #include <asm/uaccess.h>
 #include <asm/irq.h>
 
-#include <xtensa/simcall.h>
+#include <asm/platform/simcall.h>
 
 #include <linux/tty.h>
 #include <linux/tty_flip.h>
 
+#ifdef SERIAL_INLINE
+#define _INLINE_ inline
+#endif
+
 #define SERIAL_MAX_NUM_LINES 1
 #define SERIAL_TIMER_VALUE (20 * HZ)
 
@@ -191,7 +194,7 @@ static int rs_read_proc(char *page, char **start, off_t off, int count,
 }
 
 
-static const struct tty_operations serial_ops = {
+static struct tty_operations serial_ops = {
        .open = rs_open,
        .close = rs_close,
        .write = rs_write,