Skip to content

Commit

Permalink
usb: musb: mark musb_save/restore_context static
Browse files Browse the repository at this point in the history
those aren't used outside musb_core.c, so mark
them as static.

Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Felipe Balbi committed Dec 10, 2010
1 parent 4963514 commit 3c8a5fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/musb/musb_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 3c8a5fc

Please sign in to comment.