OSDN Git Service

usb: gadget: dummy_hcd: use the shared_hcd infrastructure
authorTatyana Brokhman <tlinder@codeaurora.org>
Wed, 29 Jun 2011 13:41:51 +0000 (16:41 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 21:27:05 +0000 (14:27 -0700)
commitcdfcbd2c4a9e866c19bf8fe2b4e011a12441c32a
treec6a5de9847676fb6f55a6925ac92b0690a134055
parentbdb64d727216b49a18c2b8337658adc6b2db82ea
usb: gadget: dummy_hcd: use the shared_hcd infrastructure

This patch is a preparation for adding SuperSpeed
support to dummy hcd.

It takes the master side fields out of the struct
dummy to a separate structure. The init process
was also modified to resemble the way it is
done by xHCI.

Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dummy_hcd.c