Lines Matching refs:capi_major
53 static int capi_major = 68; /* allocated */ variable
55 module_param_named(major, capi_major, uint, 0);
1390 major_ret = register_chrdev(capi_major, "capi20", &capi_fops); in capi_init()
1392 printk(KERN_ERR "capi20: unable to get major %d\n", capi_major); in capi_init()
1398 unregister_chrdev(capi_major, "capi20"); in capi_init()
1403 device_create(capi_class, NULL, MKDEV(capi_major, 0), NULL, "capi20"); in capi_init()
1406 device_destroy(capi_class, MKDEV(capi_major, 0)); in capi_init()
1408 unregister_chrdev(capi_major, "capi20"); in capi_init()
1421 capi_major, compileinfo); in capi_init()
1430 device_destroy(capi_class, MKDEV(capi_major, 0)); in capi_exit()
1432 unregister_chrdev(capi_major, "capi20"); in capi_exit()