2014-09-16 21:25 GMT+04:00 Felipe Balbi <balbi@xxxxxx>: > we could, perhaps, pass a flag to change those offsets, but not a new > callback, I'm trying to get rid of some of them :-) We could have a tool musb_is_tusb(musb) (like dev_is_pci(dev)) instead of just a flag. But it is also a leakage in abstraction. I see also that void* private is required both by struct musb_hw_ep and struct musb. -- With best regards, Matwey V. Kornilov http://blog.matwey.name xmpp://0x2207@xxxxxxxxx -- 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