diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-03-05 14:51:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 20:30:21 +0100 |
commit | 1a54a76d5171f3ffd89eb69f6f38d535724e3d05 (patch) | |
tree | 6d6491bdddb6356dd08813299f1af49c1b1ddc5f /net | |
parent | TTY: tty_io, remove buffer re-assignments (diff) | |
download | linux-1a54a76d5171f3ffd89eb69f6f38d535724e3d05.tar.xz linux-1a54a76d5171f3ffd89eb69f6f38d535724e3d05.zip |
TTY: let alloc_tty_driver deduce the owner automatically
Like the rest of the kernel, make a stub from alloc_tty_driver which
calls __alloc_tty_driver with proper owner. This will save us one more
assignment on the driver side.
Also this fixes some drivers which didn't set the owner. This allowed
user to remove the module from the system even though a tty from the
driver is still open.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions