Home
last modified time | relevance | path

Searched refs:hmcdrv_dev_no (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/s390/char/
H A Dhmcdrv_dev.c82 static dev_t hmcdrv_dev_no; /* device number (major/minor) */ variable
295 rc = alloc_chrdev_region(&hmcdrv_dev_no, 0, 1, HMCDRV_DEV_NAME); in hmcdrv_dev_init()
302 rc = cdev_add(&hmcdrv_dev.dev, hmcdrv_dev_no, 1); in hmcdrv_dev_init()
325 dev = device_create(hmcdrv_dev_class, NULL, hmcdrv_dev_no, NULL, in hmcdrv_dev_init()
338 unregister_chrdev_region(hmcdrv_dev_no, 1); in hmcdrv_dev_init()
360 device_destroy(hmcdrv_dev_class, hmcdrv_dev_no); in hmcdrv_dev_exit()
365 unregister_chrdev_region(hmcdrv_dev_no, 1); in hmcdrv_dev_exit()