Home
last modified time | relevance | path

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

/drivers/char/
Dvirtio_console.c172 int chr_major; member
1439 devt = MKDEV(portdev->chr_major, id); in add_port()
2027 portdev->chr_major = register_chrdev(0, "virtio-portsdev", in virtcons_probe()
2029 if (portdev->chr_major < 0) { in virtcons_probe()
2032 portdev->chr_major, vdev->index); in virtcons_probe()
2033 err = portdev->chr_major; in virtcons_probe()
2111 unregister_chrdev(portdev->chr_major, "virtio-portsdev"); in virtcons_probe()
2140 unregister_chrdev(portdev->chr_major, "virtio-portsdev"); in virtcons_remove()