]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2: Move host-specific core functions into hcd.c
authorJohn Youn <johnyoun@synopsys.com>
Wed, 24 Feb 2016 03:55:00 +0000 (19:55 -0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:46 +0000 (15:14 +0200)
commite810e958b986ffb6ee390e93d6d894618f20486e
treedec7103c71c8aafb22571d43eaf48553aae56e18
parentd07f7bc43bc6a86b447340424d7ed88c0954a46f
usb: dwc2: Move host-specific core functions into hcd.c

Move host core initialization and host channel routines into hcd.c. This
allows these functions to only be compiled in host-enabled driver
configurations (DRD or host-only).

Tested-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc2/core.c
drivers/usb/dwc2/core.h
drivers/usb/dwc2/hcd.c
drivers/usb/dwc2/hcd.h