Lines Matching refs:capi_major
49 static int capi_major = 68; /* allocated */ variable
51 module_param_named(major, capi_major, uint, 0);
1409 major_ret = register_chrdev(capi_major, "capi20", &capi_fops); in capi_init()
1411 printk(KERN_ERR "capi20: unable to get major %d\n", capi_major); in capi_init()
1416 unregister_chrdev(capi_major, "capi20"); in capi_init()
1420 device_create(capi_class, NULL, MKDEV(capi_major, 0), NULL, "capi20"); in capi_init()
1423 device_destroy(capi_class, MKDEV(capi_major, 0)); in capi_init()
1425 unregister_chrdev(capi_major, "capi20"); in capi_init()
1437 capi_major, compileinfo); in capi_init()
1446 device_destroy(capi_class, MKDEV(capi_major, 0)); in capi_exit()
1448 unregister_chrdev(capi_major, "capi20"); in capi_exit()