diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-20 14:24:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-20 14:24:39 -0400 |
commit | 843ec558f91b8e8fdb6efc908f2c0506407cc750 (patch) | |
tree | 1866dccbc298390fc8686875942324075fd83f9d /drivers/s390/char | |
parent | 71e7ff2578c3bc67fd893a9ba7f69fd563f271de (diff) | |
parent | fb8ebec00b04f921ea1614a7303f1a8e5e9e47c5 (diff) |
Merge tag 'tty-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
Pull TTY/serial patches from Greg KH:
"tty and serial merge for 3.4-rc1
Here's the big serial and tty merge for the 3.4-rc1 tree.
There's loads of fixes and reworks in here from Jiri for the tty
layer, and a number of patches from Alan to help try to wrestle the vt
layer into a sane model.
Other than that, lots of driver updates and fixes, and other minor
stuff, all detailed in the shortlog."
* tag 'tty-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (132 commits)
serial: pxa: add clk_prepare/clk_unprepare calls
TTY: Wrong unicode value copied in con_set_unimap()
serial: PL011: clear pending interrupts
serial: bfin-uart: Don't access tty circular buffer in TX DMA interrupt after it is reset.
vt: NULL dereference in vt_do_kdsk_ioctl()
tty: serial: vt8500: fix annotations for probe/remove
serial: remove back and forth conversions in serial_out_sync
serial: use serial_port_in/out vs serial_in/out in 8250
serial: introduce generic port in/out helpers
serial: reduce number of indirections in 8250 code
serial: delete useless void casts in 8250.c
serial: make 8250's serial_in shareable to other drivers.
serial: delete last unused traces of pausing I/O in 8250
pch_uart: Add module parameter descriptions
pch_uart: Use existing default_baud in setup_console
pch_uart: Add user_uartclk parameter
pch_uart: Add Fish River Island II uart clock quirks
pch_uart: Use uartclk instead of base_baud
mpc5200b/uart: select more tolerant uart prescaler on low baudrates
tty: moxa: fix bit test in moxa_start()
...
Diffstat (limited to 'drivers/s390/char')
-rw-r--r-- | drivers/s390/char/con3215.c | 9 | ||||
-rw-r--r-- | drivers/s390/char/sclp_tty.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/sclp_vt220.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/tty3270.c | 1 |
4 files changed, 2 insertions, 10 deletions
diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index e71a50d4b221..4f9f1dcc1551 100644 --- a/drivers/s390/char/con3215.c +++ b/drivers/s390/char/con3215.c | |||
@@ -933,13 +933,9 @@ console_initcall(con3215_init); | |||
933 | static int tty3215_open(struct tty_struct *tty, struct file * filp) | 933 | static int tty3215_open(struct tty_struct *tty, struct file * filp) |
934 | { | 934 | { |
935 | struct raw3215_info *raw; | 935 | struct raw3215_info *raw; |
936 | int retval, line; | 936 | int retval; |
937 | 937 | ||
938 | line = tty->index; | 938 | raw = raw3215[tty->index]; |
939 | if ((line < 0) || (line >= NR_3215)) | ||
940 | return -ENODEV; | ||
941 | |||
942 | raw = raw3215[line]; | ||
943 | if (raw == NULL) | 939 | if (raw == NULL) |
944 | return -ENODEV; | 940 | return -ENODEV; |
945 | 941 | ||
@@ -1145,7 +1141,6 @@ static int __init tty3215_init(void) | |||
1145 | * proc_entry, set_termios, flush_buffer, set_ldisc, write_proc | 1141 | * proc_entry, set_termios, flush_buffer, set_ldisc, write_proc |
1146 | */ | 1142 | */ |
1147 | 1143 | ||
1148 | driver->owner = THIS_MODULE; | ||
1149 | driver->driver_name = "tty3215"; | 1144 | driver->driver_name = "tty3215"; |
1150 | driver->name = "ttyS"; | 1145 | driver->name = "ttyS"; |
1151 | driver->major = TTY_MAJOR; | 1146 | driver->major = TTY_MAJOR; |
diff --git a/drivers/s390/char/sclp_tty.c b/drivers/s390/char/sclp_tty.c index a879c139926a..40a9d69c898e 100644 --- a/drivers/s390/char/sclp_tty.c +++ b/drivers/s390/char/sclp_tty.c | |||
@@ -551,7 +551,6 @@ sclp_tty_init(void) | |||
551 | return rc; | 551 | return rc; |
552 | } | 552 | } |
553 | 553 | ||
554 | driver->owner = THIS_MODULE; | ||
555 | driver->driver_name = "sclp_line"; | 554 | driver->driver_name = "sclp_line"; |
556 | driver->name = "sclp_line"; | 555 | driver->name = "sclp_line"; |
557 | driver->major = TTY_MAJOR; | 556 | driver->major = TTY_MAJOR; |
diff --git a/drivers/s390/char/sclp_vt220.c b/drivers/s390/char/sclp_vt220.c index 5d706e6c946f..b635472ae660 100644 --- a/drivers/s390/char/sclp_vt220.c +++ b/drivers/s390/char/sclp_vt220.c | |||
@@ -685,7 +685,6 @@ static int __init sclp_vt220_tty_init(void) | |||
685 | if (rc) | 685 | if (rc) |
686 | goto out_driver; | 686 | goto out_driver; |
687 | 687 | ||
688 | driver->owner = THIS_MODULE; | ||
689 | driver->driver_name = SCLP_VT220_DRIVER_NAME; | 688 | driver->driver_name = SCLP_VT220_DRIVER_NAME; |
690 | driver->name = SCLP_VT220_DEVICE_NAME; | 689 | driver->name = SCLP_VT220_DEVICE_NAME; |
691 | driver->major = SCLP_VT220_MAJOR; | 690 | driver->major = SCLP_VT220_MAJOR; |
diff --git a/drivers/s390/char/tty3270.c b/drivers/s390/char/tty3270.c index 2db1482b406e..b43445a55cb6 100644 --- a/drivers/s390/char/tty3270.c +++ b/drivers/s390/char/tty3270.c | |||
@@ -1784,7 +1784,6 @@ static int __init tty3270_init(void) | |||
1784 | * Entries in tty3270_driver that are NOT initialized: | 1784 | * Entries in tty3270_driver that are NOT initialized: |
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; | ||
1788 | driver->driver_name = "ttyTUB"; | 1787 | driver->driver_name = "ttyTUB"; |
1789 | driver->name = "ttyTUB"; | 1788 | driver->name = "ttyTUB"; |
1790 | driver->major = IBM_TTY3270_MAJOR; | 1789 | driver->major = IBM_TTY3270_MAJOR; |