usb: phy: mv-u3d: Staticize mv_u3d_phy_shutdown()
authorJingoo Han <jg1.han@samsung.com>
Mon, 5 Aug 2013 05:17:11 +0000 (14:17 +0900)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Aug 2013 13:34:21 +0000 (16:34 +0300)
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>
drivers/usb/phy/phy-mv-u3d-usb.c

index 6688023021d3a2be6671260b074ed279026ba702..d317903022bf17b650d20e0cda83306898d63e64 100644 (file)
@@ -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;