Hi,
I'm registering custom char device that carries cdev struct with it. How can I
use sysfs and create some device files there? I need to read/write to them.
I can manage to get sysfs files if I'm using struct device and registering
driver and device, but I can't find and reference to struct device in struct cdev?!
thanx,
hinko k
--
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, embedded systems developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU
"Aì rén" | [Analects XII:22]
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/