Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wan/
Dcosa.c166 static int cosa_major = 117; variable
351 if (cosa_major > 0) { in cosa_init()
352 if (register_chrdev(cosa_major, "cosa", &cosa_fops)) { in cosa_init()
353 pr_warn("unable to get major %d\n", cosa_major); in cosa_init()
358 if (!(cosa_major=register_chrdev(0, "cosa", &cosa_fops))) { in cosa_init()
370 unregister_chrdev(cosa_major, "cosa"); in cosa_init()
380 device_create(cosa_class, NULL, MKDEV(cosa_major, i), NULL, in cosa_init()
386 unregister_chrdev(cosa_major, "cosa"); in cosa_init()
398 device_destroy(cosa_class, MKDEV(cosa_major, i)); in cosa_exit()
415 unregister_chrdev(cosa_major, "cosa"); in cosa_exit()