Browse Source

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>
Felipe Balbi 14 năm trước cách đây
mục cha
commit
3c8a5fcc05
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      drivers/usb/musb/musb_core.c

+ 2 - 2
drivers/usb/musb/musb_core.c

@@ -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)
 	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;