Searched refs:media_dev_t (Results 1 – 1 of 1) sorted by relevance
49 static dev_t media_dev_t; variable231 ret = cdev_add(&mdev->cdev, MKDEV(MAJOR(media_dev_t), mdev->minor), 1); in media_devnode_register()239 mdev->dev.devt = MKDEV(MAJOR(media_dev_t), mdev->minor); in media_devnode_register()291 ret = alloc_chrdev_region(&media_dev_t, 0, MEDIA_NUM_DEVICES, in media_devnode_init()300 unregister_chrdev_region(media_dev_t, MEDIA_NUM_DEVICES); in media_devnode_init()311 unregister_chrdev_region(media_dev_t, MEDIA_NUM_DEVICES); in media_devnode_exit()