EmbLogic's Blog

character driver status

I have done register, unregister the character driver successfully and also open & release the character driver successfully. In this i am facing the problem regarding to container_of().

One Response to character driver status

  1. container_of is just a API used to shifts the pointer which pointing the current structure to the structure which contains the current structure
    Here is the prototype of Container_of

    container_of(pointer variable,type of container structure,current structure type);

Leave a Reply to Vaibhav Singh Cancel 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>