]> git.baikalelectronics.ru Git - kernel.git/commit
tty: tty_port: Add a kref object to the tty port
authorAlan Cox <alan@linux.intel.com>
Mon, 30 Nov 2009 13:17:14 +0000 (13:17 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 23:18:07 +0000 (15:18 -0800)
commitebd60dee78e7e6212df07bdbf02232e5f0605ba1
tree1a24c5c0fc3a56054fa054a0255c04e5b7848daa
parent64961c137987b81a4451d359b76f8fa57008f96d
tty: tty_port: Add a kref object to the tty port

Users of tty port need a way to refcount ports when hotplugging is
involved.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/tty_port.c
include/linux/tty.h