cdev_add — add a char device to the system
|struct cdev * p,|
the cdev structure for the device
the first device number for which this device is responsible
the number of consecutive minor numbers corresponding to this device
cdev_add adds the device represented by
p to the system, making it
live immediately. A negative error code is returned on failure.