dev_dbg etc with char drivers ?

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

 




im working on updating a drivers/char module to 2.6,
Ive got it working with cdevs, etc.

Id like to convert the printk(KERN_* "foo") calls to use dev_dbg() and friends,
but I cannot see how to get a valid struct device for these char-devs.

Am I missing something ?

--
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