Driver-Model question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux