summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-05 07:17:11 +0200
committerFelipe Balbi <balbi@ti.com>2013-08-09 15:34:21 +0200
commit1e0f20bea2b08775eb832e8f95d320cddd65737b (patch)
tree6825e2ad9283dab2ebe2993eccec7fcb306a0b7e /drivers/usb/phy
parentusb: gadget: f_uac1: Staticize local functions (diff)
downloadlinux-1e0f20bea2b08775eb832e8f95d320cddd65737b.tar.xz
linux-1e0f20bea2b08775eb832e8f95d320cddd65737b.zip
usb: phy: mv-u3d: Staticize mv_u3d_phy_shutdown()
mv_u3d_phy_shutdown() is used only in this file. Fix the following sparse warning: drivers/usb/phy/phy-mv-u3d-usb.c:85:6: warning: symbol 'mv_u3d_phy_shutdown' was not declared. Should it be static? Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy')
-rw-r--r--drivers/usb/phy/phy-mv-u3d-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-mv-u3d-usb.c b/drivers/usb/phy/phy-mv-u3d-usb.c
index 6688023021d3..d317903022bf 100644
--- a/drivers/usb/phy/phy-mv-u3d-usb.c
+++ b/drivers/usb/phy/phy-mv-u3d-usb.c
@@ -82,7 +82,7 @@ static void mv_u3d_phy_write(void __iomem *base, u32 reg, u32 value)
writel_relaxed(value, data);
}
-void mv_u3d_phy_shutdown(struct usb_phy *phy)
+static void mv_u3d_phy_shutdown(struct usb_phy *phy)
{
struct mv_u3d_phy *mv_u3d_phy;
void __iomem *base;