Searched refs:hmcdrv_dev_no (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/s390/char/ |
H A D | hmcdrv_dev.c | 82 static dev_t hmcdrv_dev_no; /* device number (major/minor) */ variable 292 rc = alloc_chrdev_region(&hmcdrv_dev_no, 0, 1, HMCDRV_DEV_NAME); in hmcdrv_dev_init() 299 rc = cdev_add(&hmcdrv_dev.dev, hmcdrv_dev_no, 1); in hmcdrv_dev_init() 322 dev = device_create(hmcdrv_dev_class, NULL, hmcdrv_dev_no, NULL, in hmcdrv_dev_init() 335 unregister_chrdev_region(hmcdrv_dev_no, 1); in hmcdrv_dev_init() 357 device_destroy(hmcdrv_dev_class, hmcdrv_dev_no); in hmcdrv_dev_exit() 362 unregister_chrdev_region(hmcdrv_dev_no, 1); in hmcdrv_dev_exit()
|