]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
tty: use krefs to protect driver module counts
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:37:36 +0000 (10:37 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:40 +0000 (09:51 -0700)
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>

No differences found