CDEV_INIT(9) Char devices CDEV_INIT(9)NAMEcdev_init - initialize a cdev structure
void cdev_init(struct cdev * cdev,
const struct file_operations * fops);
the structure to initialize
the file_operations for this device
Initializes cdev, remembering fops, making it ready to add to the
system with cdev_add.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 CDEV_INIT(9)