summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-sun4i-usb.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-07-31 10:01:40 +0200
committerKishon Vijay Abraham I <kishon@ti.com>2015-08-01 15:52:58 +0530
commit7167bf8b7f3f19eeea4602ccc39f26a26a636d8e (patch)
treeae54e81bb0c5ae2518c5500420775bdc3cecebef /drivers/phy/phy-sun4i-usb.c
parentdcb54fcb3483862e993abdae99cec22fb3ae4099 (diff)
downloadlinux-0-day-7167bf8b7f3f19eeea4602ccc39f26a26a636d8e.tar.gz
linux-0-day-7167bf8b7f3f19eeea4602ccc39f26a26a636d8e.tar.xz
phy-sun4i-usb: Add missing EXPORT_SYMBOL_GPL for sun4i_usb_phy_set_squelch_detect
sun4i_usb_phy_set_squelch_detect is used by other code, which may be built as a module, so it should be exported. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-sun4i-usb.c')
-rw-r--r--drivers/phy/phy-sun4i-usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-sun4i-usb.c
index e17c539e4f6fb..2dad7e820ff0b 100644
--- a/drivers/phy/phy-sun4i-usb.c
+++ b/drivers/phy/phy-sun4i-usb.c
@@ -212,6 +212,7 @@ void sun4i_usb_phy_set_squelch_detect(struct phy *_phy, bool enabled)
sun4i_usb_phy_write(phy, PHY_SQUELCH_DETECT, enabled ? 0 : 2, 2);
}
+EXPORT_SYMBOL_GPL(sun4i_usb_phy_set_squelch_detect);
static struct phy_ops sun4i_usb_phy_ops = {
.init = sun4i_usb_phy_init,