summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2010-12-02 12:28:39 +0200
committerFelipe Balbi <balbi@ti.com>2010-12-10 10:21:27 +0200
commit3c8a5fcc051c05cfdd8e3f0d37ba3c183d509cb9 (patch)
tree3e3ef806ab7caf785b681a082edce3dee9adf7f7 /drivers/usb/musb
parent496351413a227a6c0ea1a704d3d4c775d413fd08 (diff)
usb: musb: mark musb_save/restore_context static
those aren't used outside musb_core.c, so mark them as static. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/musb_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 4e048e3c362..437a4c8c012 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -2242,7 +2242,7 @@ static int __exit musb_remove(struct platform_device *pdev)
#ifdef CONFIG_PM
-void musb_save_context(struct musb *musb)
+static void musb_save_context(struct musb *musb)
{
int i;
void __iomem *musb_base = musb->mregs;
@@ -2310,7 +2310,7 @@ void musb_save_context(struct musb *musb)
musb_platform_suspend(musb);
}
-void musb_restore_context(struct musb *musb)
+static void musb_restore_context(struct musb *musb)
{
int i;
void __iomem *musb_base = musb->mregs;