]> git.baikalelectronics.ru Git - kernel.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)
commit3bbc21f13aaae26bfbfbb9d680f75b1982ba1795
tree391ccab5a5847782ae48dde60a661486f434ae35
parent52f04f85764072ef0cf578414abeb79da38ff7ba
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