From: Andrew Morton Fix CONFIG_PM=n build. Cc: Alan Stern Cc: Greg KH Signed-off-by: Andrew Morton --- drivers/usb/core/hub.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN drivers/usb/core/hub.c~usb-hub-driver-improve-use-of-ifdef-fix drivers/usb/core/hub.c --- a/drivers/usb/core/hub.c~usb-hub-driver-improve-use-of-ifdef-fix +++ a/drivers/usb/core/hub.c @@ -1878,6 +1878,8 @@ static inline int remote_wakeup(struct u return 0; } +#define hub_suspend NULL +#define hub_resume NULL #endif void usb_suspend_root_hub(struct usb_device *hdev) _