summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-04-17 13:19:14 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-23 23:15:27 +0200
commit10c966c310da12e1e3f68d717a8e15274fdadf29 (patch)
tree60c02d208f44e59d340ead6821d6abc5c527ede4 /drivers/usb
parentUSB: musb: Remove my email address from few musb related drivers (diff)
downloadlinux-10c966c310da12e1e3f68d717a8e15274fdadf29.tar.xz
linux-10c966c310da12e1e3f68d717a8e15274fdadf29.zip
USB: musb: fix build when !CONFIG_PM
Fix this build error when CONFIG_PM is not set: drivers/usb/musb/musb_core.c:2232: error: 'musb_resume_early' undeclared here Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/musb/musb_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 0112353ec97d..4000cf6d1e81 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -2191,7 +2191,7 @@ static int musb_resume_early(struct platform_device *pdev)
#else
#define musb_suspend NULL
-#define musb_resume NULL
+#define musb_resume_early NULL
#endif
static struct platform_driver musb_driver = {