1. NAME▲

cdev_init - initialize a cdev structure

2. SYNOPSIS ▲

void cdev_init(struct cdev *  cdev , const struct file_operations *  fops );

3. ARGUMENTS ▲

cdev
    the structure to initialize

fops
    the file_operations for this device

4. DESCRIPTION ▲

Initializes cdev, remembering fops, making it ready to add to the system with cdev_add.

5. COPYRIGHT ▲