Searched refs:phantom_major (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/drivers/misc/ |
D | phantom.c | 43 static int phantom_major; variable 404 retval = cdev_add(&pht->cdev, MKDEV(phantom_major, minor), 1); in phantom_probe() 411 MKDEV(phantom_major, minor), NULL, in phantom_probe() 443 device_destroy(phantom_class, MKDEV(phantom_major, minor)); in phantom_remove() 531 phantom_major = MAJOR(dev); in phantom_init() 557 unregister_chrdev_region(MKDEV(phantom_major, 0), PHANTOM_MAX_MINORS); in phantom_exit()
|