Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/vme_user/
H A Dvme_user.c77 #define VME_MAJOR 221 /* VME Major Device Number */ macro
543 err = register_chrdev_region(MKDEV(VME_MAJOR, 0), VME_DEVS, in vme_user_probe()
547 VME_MAJOR); in vme_user_probe()
559 err = cdev_add(vme_user_cdev, MKDEV(VME_MAJOR, 0), VME_DEVS); in vme_user_probe()
645 MKDEV(VME_MAJOR, i), NULL, in vme_user_probe()
659 device_destroy(vme_user_sysfs_class, MKDEV(VME_MAJOR, i)); in vme_user_probe()
686 unregister_chrdev_region(MKDEV(VME_MAJOR, 0), VME_DEVS); in vme_user_probe()
699 device_destroy(vme_user_sysfs_class, MKDEV(VME_MAJOR, i)); in vme_user_remove()
719 unregister_chrdev_region(MKDEV(VME_MAJOR, 0), VME_DEVS); in vme_user_remove()