int cdev_add(struct cdev *p, dev_t dev, unsigned count) { ... return kobj_map(cdev_map, dev, count, NULL, exact_match, exact_lock, p); }