LWN.net Logo

The cdev interface

The cdev interface

Posted Jun 11, 2010 10:51 UTC (Fri) by nosf (guest, #67468)
Parent article: The cdev interface

>* In order the device to actually apear in the file system, you have to >call device_create (class, parent_dev, devno, device_name).
>* In order to call device_create you need to have a device class object: >either use one of the existing classes, or create your own with create_class (THIS_MODULE, class_name)

I think this is for sysfs only.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds