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:
Родитель
42d8a2d22b
Коммит
511366da53
|
@ -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)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче