UPSTREAM: usb: dwc2: Move mode querying functions into core.h
authorJohn Youn <John.Youn@synopsys.com>
Thu, 17 Dec 2015 19:16:45 +0000 (11:16 -0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 3 Jan 2017 10:47:48 +0000 (18:47 +0800)
commit68bbaccc23628a6f92dba58e6e388a521144dceb
treeee1857bbd1d3cd6ca05e1b6897784f528ad1ae5c
parent93bbd5118a10954603f7ebff65a90c4bbc29d238
UPSTREAM: usb: dwc2: Move mode querying functions into core.h

These functions should go in core.h where they can be called from core,
device, or host.

Change-Id: I03e22ee0f6819998d152fab25c5b0b47e76275e1
Signed-off-by: John Youn <johnyoun@synopsys.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit 1696d5ab99ef885ae62da5ad58f9eff16da7ff78)
drivers/usb/dwc2/core.h
drivers/usb/dwc2/hcd.h