Driver porting: Char devices and large dev_t
Posted Sep 29, 2003 12:31 UTC (Mon) by cynove
Parent article: Driver porting: Char devices and large dev_t
Sure this interface is fine, but how can I make it available to build my out of kernel tree module ?
When using register_chrdev, everything is fine.
If I use some cdev_ function, the build process complains that cdev_del, cdev_add etc... are undefined when building module.ko. (ie stage 2)
The only difference I found is that register_chrdev is defined as extern in <linux/fs.h>, and cdev_ are just declared in cdev.h.
How can I make these functions available to my modules ?
to post comments)