commit | 6f967f7891076abc09e12ce952f85825e7ee8caf | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@redhat.com> | Mon Oct 13 10:37:36 2008 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Oct 13 09:51:40 2008 -0700 |
tree | 1ebd77aae1dc887676915b3c469d84681db2d9ac | |
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>