EmbLogic's Blog

Character Device Driver status by Vijay Partap

I have done following things in initialization function:

  1. alloc_chrdev_region and  register_chrdev_region
  2. kmalloc and memset
  3. cdev_init and cdev_add

I have done following things in cleanup function:

  1. unregister_chrdev_region

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>