VME_MAJOR
err = register_chrdev_region(MKDEV(VME_MAJOR, 0), VME_DEVS, DRIVER_NAME);
VME_MAJOR);
err = cdev_add(vme_user_cdev, MKDEV(VME_MAJOR, 0), VME_DEVS);
MKDEV(VME_MAJOR, i), NULL,
device_destroy(&vme_user_sysfs_class, MKDEV(VME_MAJOR, i));
unregister_chrdev_region(MKDEV(VME_MAJOR, 0), VME_DEVS);
device_destroy(&vme_user_sysfs_class, MKDEV(VME_MAJOR, i));
unregister_chrdev_region(MKDEV(VME_MAJOR, 0), VME_DEVS);