tty: tty_port: Add a kref object to the tty port
commit568aafc627e2978509e8a80c640ba534d1e843cc
authorAlan Cox <alan@linux.intel.com>
Mon, 30 Nov 2009 13:17:14 +0000 (30 13:17 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 23:18:07 +0000 (11 15:18 -0800)
tree1a24c5c0fc3a56054fa054a0255c04e5b7848daa
parent338818fd802a6baacb7e5b6910d52c8996ca6d28
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