Searched refs:pmsg_major (Results 1 – 1 of 1) sorted by relevance
/fs/pstore/ |
D | pmsg.c | 44 static int pmsg_major; variable 60 pmsg_major = register_chrdev(0, PMSG_NAME, &pmsg_fops); in pstore_register_pmsg() 61 if (pmsg_major < 0) { in pstore_register_pmsg() 73 pmsg_device = device_create(pmsg_class, NULL, MKDEV(pmsg_major, 0), in pstore_register_pmsg() 84 unregister_chrdev(pmsg_major, PMSG_NAME); in pstore_register_pmsg() 91 device_destroy(pmsg_class, MKDEV(pmsg_major, 0)); in pstore_unregister_pmsg() 93 unregister_chrdev(pmsg_major, PMSG_NAME); in pstore_unregister_pmsg()
|