Commit 511366da authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

USB: usb-hub-driver-improve-use-of-ifdef fix

Fix CONFIG_PM=n build.

Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 42d8a2d2
...@@ -1895,6 +1895,8 @@ static inline int remote_wakeup(struct usb_device *udev) ...@@ -1895,6 +1895,8 @@ static inline int remote_wakeup(struct usb_device *udev)
return 0; return 0;
} }
#define hub_suspend NULL
#define hub_resume NULL
#endif #endif
void usb_suspend_root_hub(struct usb_device *hdev) void usb_suspend_root_hub(struct usb_device *hdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment