[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Driver-Model question
Hello.
I am writing a driver for a serial device.
I want it to be suspended before the serial driver,
and resumed after the serial driver.
Therefore, when I add it to the device hirarchy, I must
set the parent to point to the serial device.
the question is how can I find the device pointer of the
serial device ? i couldn't see any API for that...
(I am using platform API since 8250.c driver is using it as its bus)
Thank You
Naziir
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/