Re: [PATCH 9/9] usb/gadget: push VID/PID/USB BCD module option into gadgets

2012-08-23 Thread Sebastian Andrzej Siewior
On 08/23/2012 03:38 PM, Michal Nazarewicz wrote: Wrap with a “do { ... } while (0)”. Will do. Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htm

Re: [PATCH 9/9] usb/gadget: push VID/PID/USB BCD module option into gadgets

2012-08-23 Thread Michal Nazarewicz
Sebastian Andrzej Siewior writes: > This patch moves the module options idVendor, idProduct and bcdDevice > from composite.c into each gadgets. This ensures compatibility with > current gadgets and removes the global variable which brings me step > closer towards composite.c in libcomposite > > Si

[PATCH 9/9] usb/gadget: push VID/PID/USB BCD module option into gadgets

2012-08-23 Thread Sebastian Andrzej Siewior
This patch moves the module options idVendor, idProduct and bcdDevice from composite.c into each gadgets. This ensures compatibility with current gadgets and removes the global variable which brings me step closer towards composite.c in libcomposite Signed-off-by: Sebastian Andrzej Siewior --- d