On Fri, Jan 22, 2010 at 10:33:07PM +0200, Felipe Balbi wrote: > Hi all, > > I'm trying to think of a way for passing usb idVendor, idProduct and > some strings to the gadget driver via some platform_data but I can't > come up with a way that would work for all gadget drivers, specially > wrt functions that have to be bound several times. > > Does anyone have a good idea for solving that ? > > The problem I'm trying to solve is when building a kernel for several > different devices, then we have to keep on adding if > (machine_is_xxxx()), and that only works on ARM-based kernel images > afaict. Isn't the Device Tree stuff supposed to help solve this type of problem? thanks, greg k-h -- 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