Skip to content

Commit

Permalink
usb: musb: ux500: fix build warnings
Browse files Browse the repository at this point in the history
This patch fixes the following build warnings:

drivers/usb/musb/ux500.c:346:12: warning: ‘ux500_suspend’ defined but
not used [-Wunused-function]
drivers/usb/musb/ux500.c:357:12: warning: ‘ux500_resume’ defined but not
used [-Wunused-function]

Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Felipe Balbi committed May 27, 2015
1 parent fea2fc6 commit 30d0922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/musb/ux500.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ static int ux500_remove(struct platform_device *pdev)
return 0;
}

#ifdef CONFIG_PM
#ifdef CONFIG_PM_SLEEP
static int ux500_suspend(struct device *dev)
{
struct ux500_glue *glue = dev_get_drvdata(dev);
Expand Down

0 comments on commit 30d0922

Please sign in to comment.