diff options
author | Andrew Morton <akpm@osdl.org> | 2006-08-14 23:11:02 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 11:58:55 -0700 |
commit | 511366da534bad226e89d294c3b3e910a2aaba6b (patch) | |
tree | 4c9a8e98b99d26c2b0fe39d6726c887233cd241b /drivers/usb/core | |
parent | 42d8a2d22bbaed80f1ade65a08e4e1097a111d4b (diff) | |
download | op-kernel-dev-511366da534bad226e89d294c3b3e910a2aaba6b.zip op-kernel-dev-511366da534bad226e89d294c3b3e910a2aaba6b.tar.gz |
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/core')
-rw-r--r-- | drivers/usb/core/hub.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 65720f2..f5adce0 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) |