[lkml]   [2006]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectPlans to obsolete register_chrdev()?

In Linux 2.6, character device driver developers are supposed to use
alloc_chrdev_region() and cdev_add() instead of register_chrdev(). See or .

However, in 2.6.16, there are still *very few* uses of cdev_add().
Compare to .

Are there plans to officially obsolete register_chrdev() (in particular
through Documentation/feature-removal-schedule.txt)?

Unless register_chrdev() is supposed to stay, I'll be glad to
participate in converting character driver code. In particular, would
updateds to drivers/chars/mem.c file be welcome?



Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
(More than 1000 pages!)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-09 17:03    [from the cache]
©2003-2011 Jasper Spaans