diff options
Diffstat (limited to 'drivers/s390/char')
-rw-r--r-- | drivers/s390/char/monreader.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/tty3270.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/s390/char/monreader.c b/drivers/s390/char/monreader.c index fb7bc9e5eebc..a138b1510093 100644 --- a/drivers/s390/char/monreader.c +++ b/drivers/s390/char/monreader.c | |||
@@ -586,7 +586,6 @@ static struct file_operations mon_fops = { | |||
586 | 586 | ||
587 | static struct miscdevice mon_dev = { | 587 | static struct miscdevice mon_dev = { |
588 | .name = "monreader", | 588 | .name = "monreader", |
589 | .devfs_name = "monreader", | ||
590 | .fops = &mon_fops, | 589 | .fops = &mon_fops, |
591 | .minor = MISC_DYNAMIC_MINOR, | 590 | .minor = MISC_DYNAMIC_MINOR, |
592 | }; | 591 | }; |
diff --git a/drivers/s390/char/tty3270.c b/drivers/s390/char/tty3270.c index 9a141776873f..7d26a3e4cb80 100644 --- a/drivers/s390/char/tty3270.c +++ b/drivers/s390/char/tty3270.c | |||
@@ -1785,7 +1785,6 @@ tty3270_init(void) | |||
1785 | * proc_entry, set_termios, flush_buffer, set_ldisc, write_proc | 1785 | * proc_entry, set_termios, flush_buffer, set_ldisc, write_proc |
1786 | */ | 1786 | */ |
1787 | driver->owner = THIS_MODULE; | 1787 | driver->owner = THIS_MODULE; |
1788 | driver->devfs_name = "ttyTUB/"; | ||
1789 | driver->driver_name = "ttyTUB"; | 1788 | driver->driver_name = "ttyTUB"; |
1790 | driver->name = "ttyTUB"; | 1789 | driver->name = "ttyTUB"; |
1791 | driver->major = IBM_TTY3270_MAJOR; | 1790 | driver->major = IBM_TTY3270_MAJOR; |
@@ -1793,7 +1792,7 @@ tty3270_init(void) | |||
1793 | driver->type = TTY_DRIVER_TYPE_SYSTEM; | 1792 | driver->type = TTY_DRIVER_TYPE_SYSTEM; |
1794 | driver->subtype = SYSTEM_TYPE_TTY; | 1793 | driver->subtype = SYSTEM_TYPE_TTY; |
1795 | driver->init_termios = tty_std_termios; | 1794 | driver->init_termios = tty_std_termios; |
1796 | driver->flags = TTY_DRIVER_RESET_TERMIOS | TTY_DRIVER_NO_DEVFS; | 1795 | driver->flags = TTY_DRIVER_RESET_TERMIOS | TTY_DRIVER_DYNAMIC_DEV; |
1797 | tty_set_operations(driver, &tty3270_ops); | 1796 | tty_set_operations(driver, &tty3270_ops); |
1798 | ret = tty_register_driver(driver); | 1797 | ret = tty_register_driver(driver); |
1799 | if (ret) { | 1798 | if (ret) { |