diff options
Diffstat (limited to 'arch/um/drivers/line.c')
-rw-r--r-- | arch/um/drivers/line.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c index ebebaabb78ad..563ce7690a1e 100644 --- a/arch/um/drivers/line.c +++ b/arch/um/drivers/line.c | |||
@@ -251,7 +251,7 @@ void line_set_termios(struct tty_struct *tty, struct termios * old) | |||
251 | /* nothing */ | 251 | /* nothing */ |
252 | } | 252 | } |
253 | 253 | ||
254 | static struct { | 254 | static const struct { |
255 | int cmd; | 255 | int cmd; |
256 | char *level; | 256 | char *level; |
257 | char *name; | 257 | char *name; |
@@ -405,7 +405,7 @@ static irqreturn_t line_write_interrupt(int irq, void *data, | |||
405 | 405 | ||
406 | int line_setup_irq(int fd, int input, int output, struct line *line, void *data) | 406 | int line_setup_irq(int fd, int input, int output, struct line *line, void *data) |
407 | { | 407 | { |
408 | struct line_driver *driver = line->driver; | 408 | const struct line_driver *driver = line->driver; |
409 | int err = 0, flags = IRQF_DISABLED | IRQF_SHARED | IRQF_SAMPLE_RANDOM; | 409 | int err = 0, flags = IRQF_DISABLED | IRQF_SHARED | IRQF_SAMPLE_RANDOM; |
410 | 410 | ||
411 | if (input) | 411 | if (input) |
@@ -558,7 +558,7 @@ int line_setup(struct line *lines, unsigned int num, char *init) | |||
558 | } | 558 | } |
559 | 559 | ||
560 | int line_config(struct line *lines, unsigned int num, char *str, | 560 | int line_config(struct line *lines, unsigned int num, char *str, |
561 | struct chan_opts *opts) | 561 | const struct chan_opts *opts) |
562 | { | 562 | { |
563 | struct line *line; | 563 | struct line *line; |
564 | char *new; | 564 | char *new; |