Provided by: kernel-doc-2.4.27_2.4.27-12_all
devfs_register_chrdev - Optionally register a conventional character
int devfs_register_chrdev (unsigned int major, const char *name, struct
major The major number for the driver.
name The name of the driver (as seen in /proc/devices).
fops The file_operations structure pointer.
This function will register a character driver provided the
"devfs=only" option was not provided at boot time. Returns 0 on
success, else a negative error code on failure.