USB: musb: fix build when !CONFIG_PM
authorAlexander Beregalov <a.beregalov@gmail.com>
Fri, 17 Apr 2009 11:19:14 +0000 (15:19 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Apr 2009 21:15:27 +0000 (14:15 -0700)
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>
drivers/usb/musb/musb_core.c

index 0112353ec97d02913051022a9da2295b763e90c2..4000cf6d1e819a3cacd857b4316dd6efeeebe752 100644 (file)
@@ -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 = {