Searched refs:cosa_major (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/net/wan/ |
H A D | cosa.c | 179 static int cosa_major = 117; variable 364 if (cosa_major > 0) { cosa_init() 365 if (register_chrdev(cosa_major, "cosa", &cosa_fops)) { cosa_init() 366 pr_warn("unable to get major %d\n", cosa_major); cosa_init() 371 if (!(cosa_major=register_chrdev(0, "cosa", &cosa_fops))) { cosa_init() 383 unregister_chrdev(cosa_major, "cosa"); cosa_init() 393 device_create(cosa_class, NULL, MKDEV(cosa_major, i), NULL, cosa_init() 399 unregister_chrdev(cosa_major, "cosa"); cosa_init() 411 device_destroy(cosa_class, MKDEV(cosa_major, i)); cosa_exit() 428 unregister_chrdev(cosa_major, "cosa"); cosa_exit()
|
Completed in 37 milliseconds