diff options
author | Alan Cox <alan@redhat.com> | 2008-10-13 05:37:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 12:51:40 -0400 |
commit | 6f967f7891076abc09e12ce952f85825e7ee8caf (patch) | |
tree | 1ebd77aae1dc887676915b3c469d84681db2d9ac /include/linux/serial.h | |
parent | 9c9f4ded90a59eee84e15f5fd38c03d60184e112 (diff) |
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