[Since this is something I once looked at too...] > struct kobj_map *kobj_map_init(kobj_probe_t *base_probe, > - struct subsystem *s) > + struct subsystem *s, struct semaphore *sem)
The only reason kobj_map_init() needed the subsystem argument was for the semaphore. Since you're passing that separately now, I would think that the subsystem argument could simply go away altogether. Once that's done, you should be able to delete cdev_subsys as well; when I cleaned that stuff up, I only left it there for kobj_map(). jon Jonathan Corbet Executive editor, LWN.net [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/