diff options
author | Andy Gross <andy.gross@linaro.org> | 2016-03-25 22:43:20 -0500 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-03-25 22:43:20 -0500 |
commit | 40531a641ccfea0c64996f3e439a1be3c2a1a6bf (patch) | |
tree | e730eb39ceb04d180e8ce733144e69954145e364 | |
parent | 127d6ba48405825faac6502905ad4c7119fda024 (diff) | |
download | linux-40531a641ccfea0c64996f3e439a1be3c2a1a6bf.tar.gz |
usb: chipidea: Change scope of hw_phymode_configure
Signed-off-by: Andy Gross <andy.gross@linaro.org>
-rw-r--r-- | drivers/usb/chipidea/ci.h | 2 | ||||
-rw-r--r-- | drivers/usb/chipidea/core.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h index cd414559040f12..6bb1eb2b452ac0 100644 --- a/drivers/usb/chipidea/ci.h +++ b/drivers/usb/chipidea/ci.h @@ -431,6 +431,8 @@ u8 hw_port_test_get(struct ci_hdrc *ci); int hw_wait_reg(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask, u32 value, unsigned int timeout_ms); +void hw_phymode_configure(struct ci_hdrc *ci); + void ci_platform_configure(struct ci_hdrc *ci); int dbg_create_files(struct ci_hdrc *ci); diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index cf91a629d5a679..f376174b7d22e0 100644 --- a/drivers/usb/chipidea/core.c +++ b/drivers/usb/chipidea/core.c @@ -286,7 +286,7 @@ static int hw_device_init(struct ci_hdrc *ci, void __iomem *base) return 0; } -static void hw_phymode_configure(struct ci_hdrc *ci) +void hw_phymode_configure(struct ci_hdrc *ci) { u32 portsc, lpm, sts = 0; |