From: Felipe Balbi Date: Wed, 27 May 2015 17:25:40 +0000 (-0500) Subject: usb: musb: ux500: fix build warnings X-Git-Tag: v4.2-rc1~86^2~16^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=30d092231d3b0579cb2fecc1ed8b25b329d47f98;p=karo-tx-linux.git 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 --- 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);