aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-08-15 02:11:02 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-27 14:58:55 -0400
commit511366da534bad226e89d294c3b3e910a2aaba6b (patch)
tree4c9a8e98b99d26c2b0fe39d6726c887233cd241b /drivers/usb
parent42d8a2d22bbaed80f1ade65a08e4e1097a111d4b (diff)
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)
1895 return 0; 1895 return 0;
1896} 1896}
1897 1897
1898#define hub_suspend NULL
1899#define hub_resume NULL
1898#endif 1900#endif
1899 1901
1900void usb_suspend_root_hub(struct usb_device *hdev) 1902void usb_suspend_root_hub(struct usb_device *hdev)