Home
last modified time | relevance | path

Searched refs:SBPROF_TB_MAJOR (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/mips/sibyte/common/
H A Dsb_tbprof.c47 #define SBPROF_TB_MAJOR 240 macro
547 if (register_chrdev(SBPROF_TB_MAJOR, DEVNAME, &sbprof_tb_fops)) { in sbprof_tb_init()
549 SBPROF_TB_MAJOR); in sbprof_tb_init()
561 dev = device_create(tbc, NULL, MKDEV(SBPROF_TB_MAJOR, 0), NULL, "tb"); in sbprof_tb_init()
578 unregister_chrdev(SBPROF_TB_MAJOR, DEVNAME); in sbprof_tb_init()
585 device_destroy(tb_class, MKDEV(SBPROF_TB_MAJOR, 0)); in sbprof_tb_cleanup()
586 unregister_chrdev(SBPROF_TB_MAJOR, DEVNAME); in sbprof_tb_cleanup()
593 MODULE_ALIAS_CHARDEV_MAJOR(SBPROF_TB_MAJOR);