Searched refs:ec_major (Results 1 – 1 of 1) sorted by relevance
35 static int ec_major; variable417 ec->class_dev.devt = MKDEV(ec_major, pdev->id); in ec_device_probe()571 ec_major = MAJOR(dev); in cros_ec_dev_init()582 unregister_chrdev_region(MKDEV(ec_major, 0), CROS_MAX_DEV); in cros_ec_dev_init()591 unregister_chrdev(ec_major, CROS_EC_DEV_NAME); in cros_ec_dev_exit()