]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
stallion: Use krefs
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:40:07 +0000 (10:40 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:41 +0000 (09:51 -0700)
commitd18a750fe9fa3b6cab882d51f99bba25bb0a006e
tree391ccab5a5847782ae48dde60a661486f434ae35
parentd450b5a0196b6442cf3f29fc611d9c8daa56b559
stallion: Use krefs

Use tty_port_init and krefs in the stallion drivers to protect us from devices
going away underneath us. As with the other drives some rearranging is done to
pass the tty structure down properly on the user side.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/Kconfig
drivers/char/istallion.c
drivers/char/stallion.c