projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42d8a2d
)
USB: usb-hub-driver-improve-use-of-ifdef fix
author
Andrew Morton
<akpm@osdl.org>
Tue, 15 Aug 2006 06:11:02 +0000
(23:11 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 27 Sep 2006 18:58:55 +0000
(11:58 -0700)
Fix CONFIG_PM=n build.
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index 65720f2bffc8473da183b2b134e12cb03589813e..f5adce049b35ed8351b19c15c4c2518bd86cd5b6 100644
(file)
--- a/
drivers/usb/core/hub.c
+++ b/
drivers/usb/core/hub.c
@@
-1895,6
+1895,8
@@
static inline int remote_wakeup(struct usb_device *udev)
return 0;
}
+#define hub_suspend NULL
+#define hub_resume NULL
#endif
void usb_suspend_root_hub(struct usb_device *hdev)