linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / um / include / line.h
index 27bf2f6..6f4d680 100644 (file)
@@ -17,6 +17,7 @@
 struct line_driver {
        char *name;
        char *device_name;
+       char *devfs_name;
        short major;
        short minor_start;
        short type;
@@ -57,17 +58,23 @@ struct line {
 };
 
 #define LINE_INIT(str, d) \
-       { .init_str =   str, \
-         .init_pri =   INIT_STATIC, \
-         .valid =      1, \
-         .lock =       SPIN_LOCK_UNLOCKED, \
-         .driver =     d }
+       { init_str :    str, \
+         init_pri :    INIT_STATIC, \
+         valid :       1, \
+         throttled :   0, \
+         lock :        SPIN_LOCK_UNLOCKED, \
+         buffer :      NULL, \
+         head :        NULL, \
+         tail :        NULL, \
+         sigio :       0, \
+         driver :      d, \
+         have_irq :    0 }
 
 struct lines {
        int num;
 };
 
-#define LINES_INIT(n) {  .num =        n }
+#define LINES_INIT(n) {  num :         n }
 
 extern void line_close(struct tty_struct *tty, struct file * filp);
 extern int line_open(struct line *lines, struct tty_struct *tty);