|
|
Subscribe / Log in / New account

The cdev interface

The cdev interface

Posted Aug 30, 2015 8:49 UTC (Sun) by netilovefm (guest, #101569)
In reply to: The cdev interface by nosf
Parent article: The cdev interface

now I have a question. I want to use this char_dev.

I see chrdev_open() function, in that function,

why in this function calls request_module() if not matching cdev and i_node->i_cdev

cdev is already added in system(usually module_init()function) then why call module again?

help me and answer plz T.T


to post comments


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