Searched refs:lirc_base_dev (Results 1 – 1 of 1) sorted by relevance
/drivers/media/rc/ |
D | lirc_dev.c | 48 static dev_t lirc_base_dev; variable 85 device_destroy(lirc_class, MKDEV(MAJOR(lirc_base_dev), ir->d.minor)); in lirc_irctl_cleanup() 191 retval = cdev_add(cdev, MKDEV(MAJOR(lirc_base_dev), d->minor), 1); in lirc_cdev_add() 344 MKDEV(MAJOR(lirc_base_dev), ir->d.minor), NULL, in lirc_register_driver() 371 device_destroy(lirc_class, MKDEV(MAJOR(lirc_base_dev), ir->d.minor)); in lirc_register_driver() 800 retval = alloc_chrdev_region(&lirc_base_dev, 0, MAX_IRCTL_DEVICES, in lirc_dev_init() 810 "major %d \n", MAJOR(lirc_base_dev)); in lirc_dev_init() 821 unregister_chrdev_region(lirc_base_dev, MAX_IRCTL_DEVICES); in lirc_dev_exit()
|