aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serial.h
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2008-10-13 10:37:36 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-13 09:51:40 -0700
commit6f967f7891076abc09e12ce952f85825e7ee8caf (patch)
tree1ebd77aae1dc887676915b3c469d84681db2d9ac /include/linux/serial.h
parenttty: Add a kref count (diff)
downloadlinux-dev-6f967f7891076abc09e12ce952f85825e7ee8caf.tar.xz
linux-dev-6f967f7891076abc09e12ce952f85825e7ee8caf.zip
tty: use krefs to protect driver module counts
The tty layer keeps driver module counts that are used so the driver knows when it can be unloaded. For obvious reasons we want to tie that to the refcounting properly. At this point the driver side itself isn't refcounted nicely but we can do that later and kref the drivers. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/serial.h')
0 files changed, 0 insertions, 0 deletions