X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fum%2Finclude%2Fline.h;fp=arch%2Fum%2Finclude%2Fline.h;h=6f4d680dc1d4a810cb531b6370c61a2ad0206a94;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=27bf2f6fbc05a60d398cb9b2b8ef0a51605711b2;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/arch/um/include/line.h b/arch/um/include/line.h index 27bf2f6fb..6f4d680dc 100644 --- a/arch/um/include/line.h +++ b/arch/um/include/line.h @@ -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);