From: Alexander Beregalov Date: Fri, 17 Apr 2009 11:19:14 +0000 (+0400) Subject: USB: musb: fix build when !CONFIG_PM X-Git-Tag: 2.1b_release~12839^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10c966c310da12e1e3f68d717a8e15274fdadf29;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 0112353..4000cf6 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 = {