summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-05-27 12:25:40 -0500
committerFelipe Balbi <balbi@ti.com>2015-05-27 12:30:20 -0500
commit30d092231d3b0579cb2fecc1ed8b25b329d47f98 (patch)
treed36b682a00619ac19862b567ca59b78e75f6f91b /drivers/usb/musb
parentfea2fc6e21967fc674d218f20710680d814079d2 (diff)
downloadlinux-30d092231d3b0579cb2fecc1ed8b25b329d47f98.tar.gz
linux-30d092231d3b0579cb2fecc1ed8b25b329d47f98.tar.bz2
linux-30d092231d3b0579cb2fecc1ed8b25b329d47f98.zip
usb: musb: ux500: fix build warnings
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>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/ux500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/ux500.c b/drivers/usb/musb/ux500.c
index 2967b51383d8..39168fe9b406 100644
--- a/drivers/usb/musb/ux500.c
+++ b/drivers/usb/musb/ux500.c
@@ -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);