Searched refs:dtlk_major (Results 1 – 1 of 1) sorted by relevance
80 static int dtlk_major; variable338 dtlk_major = register_chrdev(0, "dtlk", &dtlk_fops); in dtlk_init()339 if (dtlk_major < 0) { in dtlk_init()341 return dtlk_major; in dtlk_init()345 unregister_chrdev(dtlk_major, "dtlk"); in dtlk_init()348 printk(", MAJOR %d\n", dtlk_major); in dtlk_init()364 unregister_chrdev(dtlk_major, "dtlk"); in dtlk_cleanup()