X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=arch%2Fum%2Finclude%2Fline.h;h=642c9a0320f9a111af988a8dead98a08ef107efb;hb=5e7672ec3f059f764fcc5c78216e24bb16c44dba;hp=27bf2f6fbc05a60d398cb9b2b8ef0a51605711b2;hpb=602cada851b28c5792339786efe872fbdc1f5d41;p=linux-2.6-microblaze.git diff --git a/arch/um/include/line.h b/arch/um/include/line.h index 27bf2f6fbc05..642c9a0320f9 100644 --- a/arch/um/include/line.h +++ b/arch/um/include/line.h @@ -52,7 +52,7 @@ struct line { int sigio; struct work_struct task; - struct line_driver *driver; + const struct line_driver *driver; int have_irq; }; @@ -99,7 +99,7 @@ extern void lines_init(struct line *lines, int nlines, struct chan_opts *opts); extern void close_lines(struct line *lines, int nlines); extern int line_config(struct line *lines, unsigned int sizeof_lines, - char *str, struct chan_opts *opts); + char *str, const struct chan_opts *opts); extern int line_id(char **str, int *start_out, int *end_out); extern int line_remove(struct line *lines, unsigned int sizeof_lines, int n); extern int line_get_config(char *dev, struct line *lines,