summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-08-14 23:11:02 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-27 11:58:55 -0700
commit511366da534bad226e89d294c3b3e910a2aaba6b (patch)
tree4c9a8e98b99d26c2b0fe39d6726c887233cd241b /drivers/usb
parent42d8a2d22bbaed80f1ade65a08e4e1097a111d4b (diff)
downloadlinux-511366da534bad226e89d294c3b3e910a2aaba6b.tar.bz2
USB: usb-hub-driver-improve-use-of-ifdef fix
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/core/hub.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 65720f2bffc8..f5adce049b35 100644
--- 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)