提交 3c8a5fcc 编写于 作者: F Felipe Balbi

usb: musb: mark musb_save/restore_context static

those aren't used outside musb_core.c, so mark
them as static.
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 49635141
...@@ -2242,7 +2242,7 @@ static int __exit musb_remove(struct platform_device *pdev) ...@@ -2242,7 +2242,7 @@ static int __exit musb_remove(struct platform_device *pdev)
#ifdef CONFIG_PM #ifdef CONFIG_PM
void musb_save_context(struct musb *musb) static void musb_save_context(struct musb *musb)
{ {
int i; int i;
void __iomem *musb_base = musb->mregs; void __iomem *musb_base = musb->mregs;
...@@ -2310,7 +2310,7 @@ void musb_save_context(struct musb *musb) ...@@ -2310,7 +2310,7 @@ void musb_save_context(struct musb *musb)
musb_platform_suspend(musb); musb_platform_suspend(musb);
} }
void musb_restore_context(struct musb *musb) static void musb_restore_context(struct musb *musb)
{ {
int i; int i;
void __iomem *musb_base = musb->mregs; void __iomem *musb_base = musb->mregs;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册