mirror of
https://github.com/adulau/aha.git
synced 2025-01-02 22:23:21 +00:00
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>
This commit is contained in:
parent
42d8a2d22b
commit
511366da53
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue