Thread (46 messages) 46 messages, 14 authors, 2009-06-21

Re: [PATCH 08/10] tty_io: export tty_class

From: Dmitry Eremin-Solenikov <hidden>
Date: 2009-06-01 15:10:25
Also in: linux-wireless, lkml

2009/6/1 Alan Cox [off-list ref]:
On Mon,  1 Jun 2009 18:54:49 +0400
Dmitry Eremin-Solenikov [off-list ref] wrote:
quoted
Currently tty_class in a public variable in the tty_io.c
Export it to the modules to allow some usefull tricks.
Thats exactly why it isn't exported. We don't want "tricks".
I'd like to find a struct device corresponding to the struct tty_struct
from the ldisc .open call. What would be the best way for me to do this?
I used class_find_device finding the device with matching minor. Will it be
acceptable, if I just move this code into tty_* file and export it as
to modules?


-- 
With best wishes
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help