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