Pratyush Anand <pratyush.anand@xxxxxx> writes: > If that is not true, may be I can do what Bjørn Mork is suggesting. > But that would require change in drivers/base/bus.c:driver_(un)bind. > > -- Add a new field manual_binding in struct device_driver. > -- set this flag in drivers_bind before calling driver_probe_device. > -- reset this flag if driver_probe_device returns error. > -- reset this flag in driver_unbind. > -- return error from lvs_rh_probe if manual_binding is not true. > > Please let me know if there could be a better way to do it. FWIW, after looking at what would be involved, I don't really think this was a good idea. I often ventilate ideas without thinking them over first... Bjørn -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html