[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question about module_register_chrdev()
Hi,
I want to write a new character device. for kernel 2.4.0 In the init_module()
function I must register my new device driver.
The function I use is the module_register_chrdev() that I found documented on
the "Linux kernel module programming guide".
When compile the module I obtain warning messagges that say that I declared
this function implicity.
What are the include file to use of this function?
I have searched documentation for this function in the Kernel-api document
(contained in the Linux 2.4.0 source) but I don't have found it.
Is there (in kernel 2.4) a new function that do the same thing as
module_register_chdev()?
Anyone can give me some tips?
Thanks
Tiziano Fagni
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.surriel.com/kernelnewbies.shtml