From: Jingoo Han Date: Mon, 5 Aug 2013 05:17:11 +0000 (+0900) Subject: usb: phy: mv-u3d: Staticize mv_u3d_phy_shutdown() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1e0f20bea2b08775eb832e8f95d320cddd65737b;p=linux-beck.git 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 Signed-off-by: Felipe Balbi --- 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;