projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cceedb
)
USB: musb: fix build when !CONFIG_PM
author
Alexander Beregalov
<a.beregalov@gmail.com>
Fri, 17 Apr 2009 11:19:14 +0000
(15:19 +0400)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/musb_core.c
b/drivers/usb/musb/musb_core.c
index
0112353
..
4000cf6
100644
(file)
--- 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 = {