usb: gadget: push iSerialNumber into gadgets
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 10 Sep 2012 13:01:54 +0000 (15:01 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 10 Sep 2012 13:13:00 +0000 (16:13 +0300)
commit1cf0d264088907038be560ba2dd472d5e432a3dc
treec62973c662c6c43763f672e65d8ae167e39686cc
parent276e2e4f1f3e07a0ad891bf757dbcfd655ff5f91
usb: gadget: push iSerialNumber into gadgets

This patch pushes the iSerialNumber module argument from composite into
each gadget. Once the user uses the module paramter, the string is
overwritten with the final value.

Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/composite.c
drivers/usb/gadget/mass_storage.c
drivers/usb/gadget/printer.c
include/linux/usb/composite.h